Class: Subscription

Model~Subscription(data) → {void}

Subscription data model.

Constructor

new Subscription(data) → {void}

Subscription Constructor.

Subscription Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Methods

getAddressId() → {number}

Get addr_id.

Get addr_id.

Source:
Returns:
Type
number

getCancelDate() → {string}

Get cncldate.

Get cncldate.

Source:
Returns:
Type
string

getCustomerId() → {number}

Get cust_id.

Get cust_id.

Source:
Returns:
Type
number

getCustomerPaymentCardId() → {number}

Get custpc_id.

Get custpc_id.

Source:
Returns:
Type
number

getFirstDate() → {number}

Get firstdate.

Get firstdate.

Source:
Returns:
Type
number

getFormattedShipping() → {string}

Get formatted_shipping.

Get formatted_shipping.

Source:
Returns:
Type
string

getFormattedSubtotal() → {string}

Get formatted_subtotal.

Get formatted_subtotal.

Source:
Returns:
Type
string

getFormattedTax() → {string}

Get formatted_tax.

Get formatted_tax.

Source:
Returns:
Type
string

getFormattedTotal() → {string}

Get formatted_total.

Get formatted_total.

Source:
Returns:
Type
string

getId() → {number}

Get id.

Get id.

Source:
Returns:
Type
number

getLastDate() → {number}

Get lastdate.

Get lastdate.

Source:
Returns:
Type
number

getLineId() → {number}

Get line_id.

Get line_id.

Source:
Returns:
Type
number

getMessage() → {string}

Get message.

Get message.

Source:
Returns:
Type
string

getNextDate() → {number}

Get nextdate.

Get nextdate.

Source:
Returns:
Type
number

getOrderId() → {number}

Get order_id.

Get order_id.

Source:
Returns:
Type
number

getProductId() → {number}

Get product_id.

Get product_id.

Source:
Returns:
Type
number

getQuantity() → {number}

Get quantity.

Get quantity.

Source:
Returns:
Type
number

getShipData() → {string}

Get ship_data.

Get ship_data.

Source:
Returns:
Type
string

getShipId() → {number}

Get ship_id.

Get ship_id.

Source:
Returns:
Type
number

getShipping() → {number}

Get shipping.

Get shipping.

Source:
Returns:
Type
number

getStatus() → {string}

Get status.

Get status.

Source:
Returns:
Type
string

getSubscriptionTermId() → {number}

Get subterm_id.

Get subterm_id.

Source:
Returns:
Type
number

getSubtotal() → {number}

Get subtotal.

Get subtotal.

Source:
Returns:
Type
number

getTax() → {number}

Get tax.

Get tax.

Source:
Returns:
Type
number

getTermProcessed() → {number}

Get termproc.

Get termproc.

Source:
Returns:
Type
number

getTermRemaining() → {number}

Get termrem.

Get termrem.

Source:
Returns:
Type
number

getTotal() → {number}

Get total.

Get total.

Source:
Returns:
Type
number

setCancelDate(cancelDate) → {Subscription}

Set cncldate.

Set cncldate.

Parameters:
Name Type Description
cancelDate string
Source:
Returns:
Type
Subscription