new module:models/CustomerPaymentInstrumentRequest()
Constructs a new CustomerPaymentInstrumentRequest
.
Document representing a customer payment instrument request.
Members
(inner) bank_routing_number :String
The bank routing number.
Type:
- String
(inner) gift_certificate_code :String
The gift certificate code.
Type:
- String
(inner) payment_bank_account :module:models/PaymentBankAccountRequest
The payment bank account request data.
Type:
(inner) payment_card :module:models/CustomerPaymentCardRequest
The customer payment card.
Type:
(inner) payment_method_id :String
The payment method id. Optional if a customer payment instrument id is specified.
Type:
- String
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. |
Returns:
The populated CustomerPaymentInstrumentRequest
instance.