Constructor
new Subscription(data) → {void}
Subscription Constructor.
Subscription Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getAddressId() → {number}
Get addr_id.
Get addr_id.
Returns:
- Type
- number
getCancelDate() → {string}
Get cncldate.
Get cncldate.
Returns:
- Type
- string
getCustomerId() → {number}
Get cust_id.
Get cust_id.
Returns:
- Type
- number
getCustomerPaymentCardId() → {number}
Get custpc_id.
Get custpc_id.
Returns:
- Type
- number
getFirstDate() → {number}
Get firstdate.
Get firstdate.
Returns:
- Type
- number
getFormattedShipping() → {string}
Get formatted_shipping.
Get formatted_shipping.
Returns:
- Type
- string
getFormattedSubtotal() → {string}
Get formatted_subtotal.
Get formatted_subtotal.
Returns:
- Type
- string
getFormattedTax() → {string}
Get formatted_tax.
Get formatted_tax.
Returns:
- Type
- string
getFormattedTotal() → {string}
Get formatted_total.
Get formatted_total.
Returns:
- Type
- string
getId() → {number}
Get id.
Get id.
Returns:
- Type
- number
getLastDate() → {number}
Get lastdate.
Get lastdate.
Returns:
- Type
- number
getLineId() → {number}
Get line_id.
Get line_id.
Returns:
- Type
- number
getMessage() → {string}
Get message.
Get message.
Returns:
- Type
- string
getNextDate() → {number}
Get nextdate.
Get nextdate.
Returns:
- Type
- number
getOrderId() → {number}
Get order_id.
Get order_id.
Returns:
- Type
- number
getProductId() → {number}
Get product_id.
Get product_id.
Returns:
- Type
- number
getQuantity() → {number}
Get quantity.
Get quantity.
Returns:
- Type
- number
getShipData() → {string}
Get ship_data.
Get ship_data.
Returns:
- Type
- string
getShipId() → {number}
Get ship_id.
Get ship_id.
Returns:
- Type
- number
getShipping() → {number}
Get shipping.
Get shipping.
Returns:
- Type
- number
getStatus() → {string}
Get status.
Get status.
Returns:
- Type
- string
getSubscriptionTermId() → {number}
Get subterm_id.
Get subterm_id.
Returns:
- Type
- number
getSubtotal() → {number}
Get subtotal.
Get subtotal.
Returns:
- Type
- number
getTax() → {number}
Get tax.
Get tax.
Returns:
- Type
- number
getTermProcessed() → {number}
Get termproc.
Get termproc.
Returns:
- Type
- number
getTermRemaining() → {number}
Get termrem.
Get termrem.
Returns:
- Type
- number
getTotal() → {number}
Get total.
Get total.
Returns:
- Type
- number
setCancelDate(cancelDate) → {Subscription}
Set cncldate.
Set cncldate.
Parameters:
Name | Type | Description |
---|---|---|
cancelDate |
string |
Returns:
- Type
- Subscription