Class: module:models/BasketPaymentInstrumentRequest

module:models/BasketPaymentInstrumentRequest()

new module:models/BasketPaymentInstrumentRequest()

Constructs a new BasketPaymentInstrumentRequest. Document representing a basket payment instrument request.

Source:

Members

(inner) amount :Number

The payment transaction amount.

Type:
  • Number
Source:

(inner) bank_routing_number :String

The bank routing number.

Type:
  • String
Source:

(inner) customer_payment_instrument_id :String

The id of a customer payment instrument.

Type:
  • String
Source:

(inner) gift_certificate_code :String

The gift certificate code.

Type:
  • String
Source:

(inner) payment_bank_account :module:models/PaymentBankAccountRequest

The payment bank account request data.

Type:
Source:

(inner) payment_card :module:models/OrderPaymentCardRequest

The payment card.

Type:
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/BasketPaymentInstrumentRequest}

Constructs a BasketPaymentInstrumentRequest 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/BasketPaymentInstrumentRequest

Optional instance to populate.

Source:
Returns:

The populated BasketPaymentInstrumentRequest instance.

Type
module:models/BasketPaymentInstrumentRequest