new module:models/CustomerPaymentInstrumentResult()
Constructs a new CustomerPaymentInstrumentResult
.
Document representing a customer payment instrument result. The payment data contained is masked where needed for security purposes.
Members
(inner) count :Number
The number of returned documents.
Type:
- Number
(inner) data :Array.<module:models/CustomerPaymentInstrument>
The customer payment instruments list.
Type:
(inner) total :Number
The total number of documents.
Type:
- Number
Methods
(static) constructFromObject(data, obj) → {module:models/CustomerPaymentInstrumentResult}
Constructs a CustomerPaymentInstrumentResult
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/CustomerPaymentInstrumentResult | Optional instance to populate. |
Returns:
The populated CustomerPaymentInstrumentResult
instance.