An object representing a payment method.
| Property | Type | Description | 
|---|---|---|
| uid | integer | The unique identifier of the payment method. | 
| active | boolean | Whether the payment method is active. | 
| name | object | The name of the payment method, by language. | 
| description | object | The description of the payment method, by language. | 
| position | integer | The position of the payment method, how it's sorted. | 
| fee | object | The fee when using the payment method, by currency. | 
| type | string | Which type of payment method this is. | 
| disableDeliveryAddress | boolean | Whether a delivery address other than the billing address can be set with this payment method. | 
| mailOnChange | boolean | Whether to send en email when a payment's status has been changed. | 
| limitToCurrencies | array | Array of currencies that the payment method is available for. | 
| orderCostRange | OrderCostRange | When the payment method is available based on the order cost. | 
| orderStatus | integer | Which order status is set when the payment is confirmed. | 
| params | object | Settings for the payment method. | 
| Property | Type | Description | 
|---|---|---|
| mode | string | E.g. all,zero,nonzero, orinterval. | 
| intervals | object | The intervals of when the payment method is available, by currency. | 
Fetches information about a payment method.
| Parameter | Description | 
|---|---|
| uid | The unique identifier of the payment method. | 
| query | Which info to return. See Query language. | 
PaymentMethod.get(342615)
Fetches the JSON Schema which can be used for client-side validation.
The unique identifier of an existing payment method or null for a new instance.
PaymentMethod.list([
  "uid",
  "type"
], true)