Class: module:models/CustomerPaymentInstrumentRequest

module:models/CustomerPaymentInstrumentRequest()

new module:models/CustomerPaymentInstrumentRequest()

Constructs a new CustomerPaymentInstrumentRequest. Document representing a customer payment instrument request.

Source:

Members

(inner) bank_routing_number :String

The bank routing number.

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/CustomerPaymentCardRequest

The customer 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/CustomerPaymentInstrumentRequest}

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

Optional instance to populate.

Source:
Returns:

The populated CustomerPaymentInstrumentRequest instance.

Type
module:models/CustomerPaymentInstrumentRequest