From 5d0e935f5590eb57f679b4ff21fa6a75440c3a62 Mon Sep 17 00:00:00 2001 From: salman0802 Date: Thu, 21 Mar 2019 12:02:29 +0530 Subject: [PATCH] Update ApplicationCharge.php This code is used to activate ApplicationCharge with $shopifySDK->ApplicationCharge($charge_id)->activate(); --- lib/ApplicationCharge.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ApplicationCharge.php b/lib/ApplicationCharge.php index 2e55b77..b557911 100644 --- a/lib/ApplicationCharge.php +++ b/lib/ApplicationCharge.php @@ -21,4 +21,9 @@ class ApplicationCharge extends ShopifyResource * @inheritDoc */ public $countEnabled = false; -} \ No newline at end of file + + // To activate ApplicationCharge + protected $customPostActions = array( + 'activate', + ); +}