new RecurringApplicationCharge(shopify)
Creates a RecurringApplicationCharge instance.
Parameters:
Name | Type | Description |
---|---|---|
shopify |
Shopify | Reference to the Shopify instance |
Methods
activate(id, params) → {Promise}
Activates a recurring application charge.
Parameters:
Name | Type | Description |
---|---|---|
id |
Number | Recurring application charge ID |
params |
Object | Recurring application charge properties |
Returns:
Promise that resolves with the result
- Type
- Promise
customize(id, params) → {Promise}
Customize a recurring application charge.
Parameters:
Name | Type | Description |
---|---|---|
id |
Number | Recurring application charge ID |
params |
Object | Customization parameters |
Returns:
Promise that resolves with the result
- Type
- Promise