Constructor
new OrderPayment(data) → {void}
OrderPayment Constructor.
OrderPayment Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Members
(static, constant) ORDER_PAYMENT_TYPE_AUTH
Constant ORDER_PAYMENT_TYPE_AUTH
.Constant ORDER_PAYMENT_TYPE_AUTH
(static, constant) ORDER_PAYMENT_TYPE_AUTH_CAPTURE
Constant ORDER_PAYMENT_TYPE_AUTH_CAPTURE
.Constant ORDER_PAYMENT_TYPE_AUTH_CAPTURE
(static, constant) ORDER_PAYMENT_TYPE_CAPTURE
Constant ORDER_PAYMENT_TYPE_CAPTURE
.Constant ORDER_PAYMENT_TYPE_CAPTURE
(static, constant) ORDER_PAYMENT_TYPE_DECLINED
Constant ORDER_PAYMENT_TYPE_DECLINED
.Constant ORDER_PAYMENT_TYPE_DECLINED
(static, constant) ORDER_PAYMENT_TYPE_LEGACY_AUTH
Constant ORDER_PAYMENT_TYPE_LEGACY_AUTH
.Constant ORDER_PAYMENT_TYPE_LEGACY_AUTH
(static, constant) ORDER_PAYMENT_TYPE_LEGACY_CAPTURE
Constant ORDER_PAYMENT_TYPE_LEGACY_CAPTURE
.Constant ORDER_PAYMENT_TYPE_LEGACY_CAPTURE
(static, constant) ORDER_PAYMENT_TYPE_REFUND
Constant ORDER_PAYMENT_TYPE_REFUND
.Constant ORDER_PAYMENT_TYPE_REFUND
(static, constant) ORDER_PAYMENT_TYPE_VOID
Constant ORDER_PAYMENT_TYPE_VOID
.Constant ORDER_PAYMENT_TYPE_VOID
Methods
getAmount() → {number}
Get amount.
Get amount.
Returns:
- Type
- number
getAvailable() → {number}
Get available.
Get available.
Returns:
- Type
- number
getDateTimeStamp() → {number}
Get dtstamp.
Get dtstamp.
Returns:
- Type
- number
getDecryptError() → {string}
Get decrypt_error.
Get decrypt_error.
Returns:
- Type
- string
getDecryptStatus() → {string}
Get decrypt_status.
Get decrypt_status.
Returns:
- Type
- string
getDescription() → {string}
Get description.
Get description.
Returns:
- Type
- string
getExpires() → {string}
Get expires.
Get expires.
Returns:
- Type
- string
getFormattedAmount() → {string}
Get formatted_amount.
Get formatted_amount.
Returns:
- Type
- string
getFormattedAvailable() → {string}
Get formatted_available.
Get formatted_available.
Returns:
- Type
- string
getId() → {number}
Get id.
Get id.
Returns:
- Type
- number
getOrderId() → {number}
Get order_id.
Get order_id.
Returns:
- Type
- number
getPaymentData() → {array}
Get data.
Get data.
Returns:
- Type
- array
getPaymentId() → {number}
Get pay_id.
Get pay_id.
Returns:
- Type
- number
getPaymentSecId() → {number}
Get pay_secid.
Get pay_secid.
Returns:
- Type
- number
getReferenceNumber() → {string}
Get refnum.
Get refnum.
Returns:
- Type
- string
getType() → {number}
Get type.
Get type.
Returns:
- Type
- number