module:model/CreditCardInformation

module:model/CreditCardInformation

new module:model/CreditCardInformation()

Source:

Constructs a new CreditCardInformation.
This object contains information about a credit card that is associated with an account.

Members

(inner) address :module:model/AddressInformation

Source:

A complex element containing the credit card billing address information.

Type:

(inner) cardLastDigits :String

Source:
Type:
  • String

(inner) cardNumber :String

Source:

The number on the credit card.

Type:
  • String

(inner) cardType :String

Source:

The credit card type. Valid values are: visa, mastercard, or amex.

Type:
  • String

(inner) cvNumber :String

Source:
Type:
  • String

(inner) expirationMonth :String

Source:

The month that the credit card expires (1-12).

Type:
  • String

(inner) expirationYear :String

Source:

The year 4 digit year in which the credit card expires.

Type:
  • String

(inner) nameOnCard :String

Source:

The exact name printed on the credit card.

Type:
  • String

(inner) tokenizedCard :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/CreditCardInformation}

Source:

Constructs a CreditCardInformation 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:model/CreditCardInformation

Optional instance to populate.

Returns:

The populated CreditCardInformation instance.

Type
module:model/CreditCardInformation