Class: module:models/CustomerPaymentCardRequest

module:models/CustomerPaymentCardRequest()

new module:models/CustomerPaymentCardRequest()

Constructs a new CustomerPaymentCardRequest. Document representing a customer payment card request.

Source:

Members

(inner) card_type :String

The payment card type (for example, 'Visa').

Type:
  • String
Source:

(inner) credit_card_token :String

A credit card token. If a credit card is tokenized, the token can be used to look up the credit card data at the token store.

Type:
  • String
Source:

(inner) expiration_month :Number

The month when the payment card expires.

Type:
  • Number
Source:

(inner) expiration_year :Number

The year when the payment card expires.

Type:
  • Number
Source:

(inner) holder :String

The payment card holder.

Type:
  • String
Source:

(inner) issue_number :String

The payment card issue number.

Type:
  • String
Source:

(inner) number :String

The payment card number.

Type:
  • String
Source:

(inner) valid_from_month :Number

The payment card valid from month.

Type:
  • Number
Source:

(inner) valid_from_year :Number

The payment card valid from year.

Type:
  • Number
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/CustomerPaymentCardRequest}

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

Optional instance to populate.

Source:
Returns:

The populated CustomerPaymentCardRequest instance.

Type
module:models/CustomerPaymentCardRequest