Skip to content

Commit 5d0e935

Browse files
authored
Update ApplicationCharge.php
This code is used to activate ApplicationCharge with $shopifySDK->ApplicationCharge($charge_id)->activate();
1 parent d3c7f3b commit 5d0e935

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/ApplicationCharge.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,9 @@ class ApplicationCharge extends ShopifyResource
2121
* @inheritDoc
2222
*/
2323
public $countEnabled = false;
24-
}
24+
25+
// To activate ApplicationCharge
26+
protected $customPostActions = array(
27+
'activate',
28+
);
29+
}

0 commit comments

Comments
 (0)