new ApplicationCharge(shopify)
Creates an ApplicationCharge instance.
Parameters:
Name | Type | Description |
---|---|---|
shopify |
Shopify | Reference to the Shopify instance |
Methods
activate(id, params) → {Promise}
Activates a previously accepted one-time application charge.
Parameters:
Name | Type | Description |
---|---|---|
id |
Number | Application charge ID |
params |
Object | Application change properties |
Returns:
Promise that resolves with the result
- Type
- Promise