Class: module:models/OrderPaymentInstrument

module:models/OrderPaymentInstrument()

new module:models/OrderPaymentInstrument()

Constructs a new OrderPaymentInstrument. Document representing an order payment instrument.

Source:

Members

(inner) amount :Number

The payment transaction amount.

Type:
  • Number
Source:

(inner) authorization_status :module:models/Status

The authorization status of the payment transaction.

Type:
Source:

(inner) bank_routing_number :String

The bank routing number.

Type:
  • String
Source:

(inner) masked_gift_certificate_code :String

The masked gift certificate code.

Type:
  • String
Source:

(inner) payment_bank_account :module:models/PaymentBankAccount

The payment bank account.

Type:
Source:

(inner) payment_card :module:models/PaymentCard

The payment card.

Type:
Source:

(inner) payment_instrument_id :String

The payment instrument ID.

Type:
  • String
Source:

(inner) payment_method_id :String

The payment method id. Optional if a customer payment instrument id is specified.

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/OrderPaymentInstrument}

Constructs a OrderPaymentInstrument from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/OrderPaymentInstrument

Optional instance to populate.

Source:
Returns:

The populated OrderPaymentInstrument instance.

Type
module:models/OrderPaymentInstrument