Class: OrderPayment

Model~OrderPayment(data) → {void}

OrderPayment data model.

Constructor

new OrderPayment(data) → {void}

OrderPayment Constructor.

OrderPayment Constructor.

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

Members

(static, constant) ORDER_PAYMENT_TYPE_AUTH

Constant ORDER_PAYMENT_TYPE_AUTH

.

Constant ORDER_PAYMENT_TYPE_AUTH

Source:

(static, constant) ORDER_PAYMENT_TYPE_AUTH_CAPTURE

Constant ORDER_PAYMENT_TYPE_AUTH_CAPTURE

.

Constant ORDER_PAYMENT_TYPE_AUTH_CAPTURE

Source:

(static, constant) ORDER_PAYMENT_TYPE_CAPTURE

Constant ORDER_PAYMENT_TYPE_CAPTURE

.

Constant ORDER_PAYMENT_TYPE_CAPTURE

Source:

(static, constant) ORDER_PAYMENT_TYPE_DECLINED

Constant ORDER_PAYMENT_TYPE_DECLINED

.

Constant ORDER_PAYMENT_TYPE_DECLINED

Source:

(static, constant) ORDER_PAYMENT_TYPE_LEGACY_AUTH

Constant ORDER_PAYMENT_TYPE_LEGACY_AUTH

.

Constant ORDER_PAYMENT_TYPE_LEGACY_AUTH

Source:

(static, constant) ORDER_PAYMENT_TYPE_LEGACY_CAPTURE

Constant ORDER_PAYMENT_TYPE_LEGACY_CAPTURE

.

Constant ORDER_PAYMENT_TYPE_LEGACY_CAPTURE

Source:

(static, constant) ORDER_PAYMENT_TYPE_REFUND

Constant ORDER_PAYMENT_TYPE_REFUND

.

Constant ORDER_PAYMENT_TYPE_REFUND

Source:

(static, constant) ORDER_PAYMENT_TYPE_VOID

Constant ORDER_PAYMENT_TYPE_VOID

.

Constant ORDER_PAYMENT_TYPE_VOID

Source:

Methods

getAmount() → {number}

Get amount.

Get amount.

Source:
Returns:
Type
number

getAvailable() → {number}

Get available.

Get available.

Source:
Returns:
Type
number

getDateTimeStamp() → {number}

Get dtstamp.

Get dtstamp.

Source:
Returns:
Type
number

getDecryptError() → {string}

Get decrypt_error.

Get decrypt_error.

Source:
Returns:
Type
string

getDecryptStatus() → {string}

Get decrypt_status.

Get decrypt_status.

Source:
Returns:
Type
string

getDescription() → {string}

Get description.

Get description.

Source:
Returns:
Type
string

getExpires() → {string}

Get expires.

Get expires.

Source:
Returns:
Type
string

getFormattedAmount() → {string}

Get formatted_amount.

Get formatted_amount.

Source:
Returns:
Type
string

getFormattedAvailable() → {string}

Get formatted_available.

Get formatted_available.

Source:
Returns:
Type
string

getId() → {number}

Get id.

Get id.

Source:
Returns:
Type
number

getOrderId() → {number}

Get order_id.

Get order_id.

Source:
Returns:
Type
number

getPaymentData() → {array}

Get data.

Get data.

Source:
Returns:
Type
array

getPaymentId() → {number}

Get pay_id.

Get pay_id.

Source:
Returns:
Type
number

getPaymentSecId() → {number}

Get pay_secid.

Get pay_secid.

Source:
Returns:
Type
number

getReferenceNumber() → {string}

Get refnum.

Get refnum.

Source:
Returns:
Type
string

getType() → {number}

Get type.

Get type.

Source:
Returns:
Type
number