Class: module:models/CustomerPaymentInstrument

module:models/CustomerPaymentInstrument()

new module:models/CustomerPaymentInstrument()

Constructs a new CustomerPaymentInstrument. Document representing a customer payment instrument.

Source:

Members

(inner) bank_routing_number :String

The bank routing number.

Type:
  • String
Source:

(inner) creation_date :Date

Returns the value of attribute 'creationDate'.

Type:
  • Date
Source:

(inner) last_modified :Date

Returns the value of attribute 'lastModified'.

Type:
  • Date
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/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.

Source:
Returns:

The populated CustomerPaymentInstrument instance.

Type
module:models/CustomerPaymentInstrument