| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | namespace Worldline\Acquiring\Sdk\V1\Acquirer\Merchant; |
| 6: | |
| 7: | use Worldline\Acquiring\Sdk\ApiResource; |
| 8: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Accountverifications\AccountVerificationsClient; |
| 9: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Balanceinquiries\BalanceInquiriesClient; |
| 10: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Dynamiccurrencyconversion\DynamicCurrencyConversionClient; |
| 11: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Payments\PaymentsClient; |
| 12: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Refunds\RefundsClient; |
| 13: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Technicalreversals\TechnicalReversalsClient; |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | class MerchantClient extends ApiResource |
| 19: | { |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | public function payments() |
| 26: | { |
| 27: | return new PaymentsClient($this, $this->context); |
| 28: | } |
| 29: | |
| 30: | |
| 31: | |
| 32: | |
| 33: | |
| 34: | |
| 35: | public function refunds() |
| 36: | { |
| 37: | return new RefundsClient($this, $this->context); |
| 38: | } |
| 39: | |
| 40: | |
| 41: | |
| 42: | |
| 43: | |
| 44: | |
| 45: | public function accountVerifications() |
| 46: | { |
| 47: | return new AccountVerificationsClient($this, $this->context); |
| 48: | } |
| 49: | |
| 50: | |
| 51: | |
| 52: | |
| 53: | |
| 54: | |
| 55: | public function balanceInquiries() |
| 56: | { |
| 57: | return new BalanceInquiriesClient($this, $this->context); |
| 58: | } |
| 59: | |
| 60: | |
| 61: | |
| 62: | |
| 63: | |
| 64: | |
| 65: | public function technicalReversals() |
| 66: | { |
| 67: | return new TechnicalReversalsClient($this, $this->context); |
| 68: | } |
| 69: | |
| 70: | |
| 71: | |
| 72: | |
| 73: | |
| 74: | |
| 75: | public function dynamicCurrencyConversion() |
| 76: | { |
| 77: | return new DynamicCurrencyConversionClient($this, $this->context); |
| 78: | } |
| 79: | } |
| 80: | |