@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function updatePlan(string $plan_id, array $data) |
| 62 | 62 | { |
| 63 | - $this->apiEndPoint = "v1/billing/plans/{$plan_id}"; |
|
| 63 | + $this->apiEndPoint = "v1 / billing / plans / {$plan_id}"; |
|
| 64 | 64 | |
| 65 | 65 | $this->options['json'] = $data; |
| 66 | 66 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | public function showPlanDetails(string $plan_id) |
| 84 | 84 | { |
| 85 | - $this->apiEndPoint = "v1/billing/plans/{$plan_id}"; |
|
| 85 | + $this->apiEndPoint = "v1 / billing / plans / {$plan_id}"; |
|
| 86 | 86 | |
| 87 | 87 | $this->verb = 'get'; |
| 88 | 88 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | public function activatePlan(string $plan_id) |
| 104 | 104 | { |
| 105 | - $this->apiEndPoint = "v1/billing/plans/{$plan_id}/activate"; |
|
| 105 | + $this->apiEndPoint = "v1 / billing / plans / {$plan_id} / activate"; |
|
| 106 | 106 | |
| 107 | 107 | $this->verb = 'post'; |
| 108 | 108 | |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | */ |
| 123 | 123 | public function deactivatePlan(string $plan_id) |
| 124 | 124 | { |
| 125 | - $this->apiEndPoint = "v1/billing/plans/{$plan_id}/deactivate"; |
|
| 125 | + $this->apiEndPoint = "v1 / billing / plans / {$plan_id} / deactivate"; |
|
| 126 | 126 | |
| 127 | 127 | $this->verb = 'post'; |
| 128 | 128 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | public function updatePlanPricing(string $plan_id, array $pricing) |
| 145 | 145 | { |
| 146 | - $this->apiEndPoint = "v1/billing/plans/{$plan_id}/update-pricing-schemes"; |
|
| 146 | + $this->apiEndPoint = "v1 / billing / plans / {$plan_id} / update - pricing - schemes"; |
|
| 147 | 147 | |
| 148 | 148 | $this->options['json'] = [ |
| 149 | 149 | 'pricing_schemes' => $pricing, |