new module:models/CustomerPaymentInstrument()
Constructs a new CustomerPaymentInstrument
.
Document representing a customer payment instrument.
Members
(inner) bank_routing_number :String
The bank routing number.
Type:
- String
(inner) creation_date :Date
Returns the value of attribute 'creationDate'.
Type:
- Date
(inner) last_modified :Date
Returns the value of attribute 'lastModified'.
Type:
- Date
(inner) masked_gift_certificate_code :String
The masked gift certificate code.
Type:
- String
(inner) payment_bank_account :module:models/PaymentBankAccount
The payment bank account.
Type:
(inner) payment_card :module:models/PaymentCard
The payment card.
Type:
(inner) payment_instrument_id :String
The payment instrument ID.
Type:
- String
(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/CustomerPaymentInstrument}
Constructs a CustomerPaymentInstrument
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/CustomerPaymentInstrument | Optional instance to populate. |
Returns:
The populated CustomerPaymentInstrument
instance.