Class: OrderPaymentTotal

Model~OrderPaymentTotal(data) → {void}

OrderPaymentTotal data model.

Constructor

new OrderPaymentTotal(data) → {void}

OrderPaymentTotal Constructor.

OrderPaymentTotal Constructor.

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

Methods

getFormattedNetCaptured() → {string}

Get formatted_net_capt.

Get formatted_net_capt.

Source:
Returns:
Type
string

getFormattedTotalAuthorized() → {string}

Get formatted_total_auth.

Get formatted_total_auth.

Source:
Returns:
Type
string

getFormattedTotalCaptured() → {string}

Get formatted_total_capt.

Get formatted_total_capt.

Source:
Returns:
Type
string

getFormattedTotalRefunded() → {string}

Get formatted_total_rfnd.

Get formatted_total_rfnd.

Source:
Returns:
Type
string

getNetCaptured() → {number}

Get net_capt.

Get net_capt.

Source:
Returns:
Type
number

getOrderId() → {number}

Get order_id.

Get order_id.

Source:
Returns:
Type
number

getTotalAuthorized() → {number}

Get total_auth.

Get total_auth.

Source:
Returns:
Type
number

getTotalCaptured() → {number}

Get total_capt.

Get total_capt.

Source:
Returns:
Type
number

getTotalRefunded() → {number}

Get total_rfnd.

Get total_rfnd.

Source:
Returns:
Type
number