1 | <?php |
||
11 | class BillingAgreementService extends IdentityService |
||
12 | { |
||
13 | /** |
||
14 | * @param $requestBody |
||
15 | * @param string $url |
||
16 | * @param string $verb |
||
17 | * @return array|string|null |
||
18 | */ |
||
19 | public function paypalApiCall($requestBody, string $url, string $verb = 'POST') |
||
46 | |||
47 | /** |
||
48 | * @param $requestBody |
||
49 | * @return bool|string|null |
||
50 | */ |
||
51 | public function createBillingAgreementToken($requestBody) |
||
58 | |||
59 | /** |
||
60 | * @param $requestBody |
||
61 | * @return bool|string|null |
||
62 | */ |
||
63 | public function createBillingAgreement($requestBody) |
||
70 | |||
71 | /** |
||
72 | * @param $requestBody |
||
73 | * @return bool|string|null |
||
74 | */ |
||
75 | public function createReferenceTransaction($requestBody) |
||
82 | |||
83 | /** |
||
84 | * @param string $billingAgreementId |
||
85 | * @return bool|string|null |
||
86 | */ |
||
87 | public function deleteBillingAgreement(string $billingAgreementId) |
||
94 | } |
||
95 |