@@ -48,7 +48,7 @@ public function __construct(Client $client)
48
48
* @return \Adyen\Model\PaymentsApp\BoardingTokenResponse
49
49
* @throws AdyenException
50
50
*/
51
- public function generatePaymentsAppBoardingTokenForMerchant (string $ merchantId , \Adyen \Model \PaymentsApp \BoardingTokenRequest $ boardingTokenRequest , array $ requestOptions = null ): \Adyen \Model \PaymentsApp \BoardingTokenResponse
51
+ public function generatePaymentsAppBoardingTokenForMerchant (string $ merchantId , \Adyen \Model \PaymentsApp \BoardingTokenRequest $ boardingTokenRequest , ? array $ requestOptions = null ): \Adyen \Model \PaymentsApp \BoardingTokenResponse
52
52
{
53
53
$ endpoint = $ this ->baseURL . str_replace (['{merchantId} ' ], [$ merchantId ], "/merchants/{merchantId}/generatePaymentsAppBoardingToken " );
54
54
$ response = $ this ->requestHttp ($ endpoint , strtolower ('POST ' ), (array ) $ boardingTokenRequest ->jsonSerialize (), $ requestOptions );
@@ -65,7 +65,7 @@ public function generatePaymentsAppBoardingTokenForMerchant(string $merchantId,
65
65
* @return \Adyen\Model\PaymentsApp\BoardingTokenResponse
66
66
* @throws AdyenException
67
67
*/
68
- public function generatePaymentsAppBoardingTokenForStore (string $ merchantId , string $ storeId , \Adyen \Model \PaymentsApp \BoardingTokenRequest $ boardingTokenRequest , array $ requestOptions = null ): \Adyen \Model \PaymentsApp \BoardingTokenResponse
68
+ public function generatePaymentsAppBoardingTokenForStore (string $ merchantId , string $ storeId , \Adyen \Model \PaymentsApp \BoardingTokenRequest $ boardingTokenRequest , ? array $ requestOptions = null ): \Adyen \Model \PaymentsApp \BoardingTokenResponse
69
69
{
70
70
$ endpoint = $ this ->baseURL . str_replace (['{merchantId} ' , '{storeId} ' ], [$ merchantId , $ storeId ], "/merchants/{merchantId}/stores/{storeId}/generatePaymentsAppBoardingToken " );
71
71
$ response = $ this ->requestHttp ($ endpoint , strtolower ('POST ' ), (array ) $ boardingTokenRequest ->jsonSerialize (), $ requestOptions );
@@ -80,7 +80,7 @@ public function generatePaymentsAppBoardingTokenForStore(string $merchantId, str
80
80
* @return \Adyen\Model\PaymentsApp\PaymentsAppResponse
81
81
* @throws AdyenException
82
82
*/
83
- public function listPaymentsAppForMerchant (string $ merchantId , array $ requestOptions = null ): \Adyen \Model \PaymentsApp \PaymentsAppResponse
83
+ public function listPaymentsAppForMerchant (string $ merchantId , ? array $ requestOptions = null ): \Adyen \Model \PaymentsApp \PaymentsAppResponse
84
84
{
85
85
$ endpoint = $ this ->baseURL . str_replace (['{merchantId} ' ], [$ merchantId ], "/merchants/{merchantId}/paymentsApps " );
86
86
$ response = $ this ->requestHttp ($ endpoint , strtolower ('GET ' ), null , $ requestOptions );
@@ -96,7 +96,7 @@ public function listPaymentsAppForMerchant(string $merchantId, array $requestOpt
96
96
* @return \Adyen\Model\PaymentsApp\PaymentsAppResponse
97
97
* @throws AdyenException
98
98
*/
99
- public function listPaymentsAppForStore (string $ merchantId , string $ storeId , array $ requestOptions = null ): \Adyen \Model \PaymentsApp \PaymentsAppResponse
99
+ public function listPaymentsAppForStore (string $ merchantId , string $ storeId , ? array $ requestOptions = null ): \Adyen \Model \PaymentsApp \PaymentsAppResponse
100
100
{
101
101
$ endpoint = $ this ->baseURL . str_replace (['{merchantId} ' , '{storeId} ' ], [$ merchantId , $ storeId ], "/merchants/{merchantId}/stores/{storeId}/paymentsApps " );
102
102
$ response = $ this ->requestHttp ($ endpoint , strtolower ('GET ' ), null , $ requestOptions );
@@ -109,12 +109,13 @@ public function listPaymentsAppForStore(string $merchantId, string $storeId, arr
109
109
* @param string $merchantId
110
110
* @param string $installationId
111
111
* @param array|null $requestOptions
112
-
112
+
113
113
* @throws AdyenException
114
114
*/
115
- public function revokePaymentsApp (string $ merchantId , string $ installationId , array $ requestOptions = null )
115
+ public function revokePaymentsApp (string $ merchantId , string $ installationId , ? array $ requestOptions = null )
116
116
{
117
117
$ endpoint = $ this ->baseURL . str_replace (['{merchantId} ' , '{installationId} ' ], [$ merchantId , $ installationId ], "/merchants/{merchantId}/paymentsApps/{installationId}/revoke " );
118
118
$ this ->requestHttp ($ endpoint , strtolower ('POST ' ), null , $ requestOptions );
119
+
119
120
}
120
121
}
0 commit comments