Class: module:models/PaymentDetails

module:models/PaymentDetails()

new module:models/PaymentDetails()

Constructs a new PaymentDetails.

Source:

Members

(inner) accountHolderName :String

Type:
  • String
Source:

(inner) billingAddress :module:models/Address

Type:
Source:

(inner) cardNumber :String

Type:
  • String
Source:

(inner) cardType :module:models/CardType

Type:
Source:

(inner) defaultPayment :Boolean

Type:
  • Boolean
Source:

(inner) expiryMonth :String

Type:
  • String
Source:

(inner) expiryYear :String

Type:
  • String
Source:

(inner) id :String

Type:
  • String
Source:

(inner) issueNumber :String

Type:
  • String
Source:

(inner) saved :Boolean

Type:
  • Boolean
Source:

(inner) startMonth :String

Type:
  • String
Source:

(inner) startYear :String

Type:
  • String
Source:

(inner) subscriptionId :String

Type:
  • String
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated PaymentDetails instance.

Type
module:models/PaymentDetails