new module:model/PaymentMethodWithOptions()
- Source:
Constructs a new PaymentMethodWithOptions.
This object contains information about a payment method that the gateway accepts and the payment options that are compatible with it.
Members
(inner) supportedCurrencies :Array.<String>
- Source:
Type:
- Array.<String>
(inner) supportedOptions :Array.<String>
- Source:
Type:
- Array.<String>
(inner) type :String
- Source:
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/PaymentMethodWithOptions}
- Source:
Constructs a PaymentMethodWithOptions 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/PaymentMethodWithOptions | Optional instance to populate. |
Returns:
The populated PaymentMethodWithOptions instance.