| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function customer_enable_billing_portal($customer_id, $auto_invite=false): string |
||
| 32 | { |
||
| 33 | $invite_param = ($auto_invite === true) ? '?auto_invite=1' : ''; |
||
| 34 | $this->apiEndPoint = "/portal/customers/{$customer_id}/enable.json{$invite_param}"; |
||
| 35 | |||
| 36 | $this->verb = 'post'; |
||
| 37 | |||
| 38 | return $this->doChargifyRequest(false); |
||
| 39 | } |
||
| 57 |