|
@@ -15,7 +15,7 @@ discard block |
|
|
block discarded – undo |
|
15
|
15
|
* |
|
16
|
16
|
* @see https://developer.paypal.com/limited-release/reference-transactions/#link-createbillingagreementtoken |
|
17
|
17
|
*/ |
|
18
|
|
- public function createBillingAgreementToken (array $data) { |
|
|
18
|
+ public function createBillingAgreementToken(array $data) { |
|
19
|
19
|
$this->apiEndPoint = 'v1/billing-agreements/agreement-tokens'; |
|
20
|
20
|
|
|
21
|
21
|
$this->options['json'] = (object) $data; |
|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
* |
|
37
|
37
|
* @see https://developer.paypal.com/limited-release/reference-transactions/#link-createbillingagreement |
|
38
|
38
|
*/ |
|
39
|
|
- public function createBillingAgreement (string $billingAgreementToken) { |
|
|
39
|
+ public function createBillingAgreement(string $billingAgreementToken) { |
|
40
|
40
|
$this->apiEndPoint = "v1/billing-agreements/{$billingAgreementToken}/agreements"; |
|
41
|
41
|
|
|
42
|
42
|
$this->verb = 'post'; |
Please login to merge, or discard this patch.