|
@@ 327-337 (lines=11) @@
|
| 324 |
|
* |
| 325 |
|
* @throws \Exception |
| 326 |
|
*/ |
| 327 |
|
public function listPaymentOptionsRequest($params = [], $businessUuid = '', $channel = '') |
| 328 |
|
{ |
| 329 |
|
$businessUuid = $businessUuid ?: $this->getConfiguration()->getBusinessUuid(); |
| 330 |
|
$channel = $channel ?: $this->getConfiguration()->getChannelSet(); |
| 331 |
|
|
| 332 |
|
$request = RequestBuilder::get($this->getListPaymentOptionsURL($businessUuid, $channel, $params)) |
| 333 |
|
->setResponseEntity(new ListPaymentOptionsResponse()) |
| 334 |
|
->build(); |
| 335 |
|
|
| 336 |
|
return $this->getHttpClient()->execute($request); |
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
/** |
| 340 |
|
* {@inheritdoc} |
|
@@ 344-354 (lines=11) @@
|
| 341 |
|
* |
| 342 |
|
* @throws \Exception |
| 343 |
|
*/ |
| 344 |
|
public function listPaymentOptionsWithVariantsRequest($params = [], $businessUuid = '', $channel = '') |
| 345 |
|
{ |
| 346 |
|
$businessUuid = $businessUuid ?: $this->getConfiguration()->getBusinessUuid(); |
| 347 |
|
$channel = $channel ?: $this->getConfiguration()->getChannelSet(); |
| 348 |
|
|
| 349 |
|
$request = RequestBuilder::get($this->getListPaymentOptionsVariantsURL($businessUuid, $channel, $params)) |
| 350 |
|
->setResponseEntity(new ListPaymentOptionsWithVariantsResponse()) |
| 351 |
|
->build(); |
| 352 |
|
|
| 353 |
|
return $this->getHttpClient()->execute($request); |
| 354 |
|
} |
| 355 |
|
|
| 356 |
|
/** |
| 357 |
|
* {@inheritdoc} |