D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
app
/
Libs
/
OnlinePayments
/
Sdk
/
Merchant
/
Services
/
Filename :
ServicesClientInterface.php
back
Copy
<?php /* * This file was automatically generated. */ namespace App\Libs\OnlinePayments\Sdk\Merchant\Services; use App\Libs\OnlinePayments\Sdk\ApiException; use App\Libs\OnlinePayments\Sdk\AuthorizationException; use App\Libs\OnlinePayments\Sdk\Domain\CalculateSurchargeRequest; use App\Libs\OnlinePayments\Sdk\Domain\CalculateSurchargeResponse; use App\Libs\OnlinePayments\Sdk\Domain\CurrencyConversionRequest; use App\Libs\OnlinePayments\Sdk\Domain\CurrencyConversionResponse; use App\Libs\OnlinePayments\Sdk\Domain\GetIINDetailsRequest; use App\Libs\OnlinePayments\Sdk\Domain\GetIINDetailsResponse; use App\Libs\OnlinePayments\Sdk\Domain\TestConnection; use App\Libs\OnlinePayments\Sdk\IdempotenceException; use App\Libs\OnlinePayments\Sdk\PlatformException; use App\Libs\OnlinePayments\Sdk\ReferenceException; use App\Libs\OnlinePayments\Sdk\ValidationException; use App\Libs\Sdk\CallContext; use App\Libs\Sdk\Communication\InvalidResponseException; /** * Services client interface. */ interface ServicesClientInterface { /** * Resource /v2/{merchantId}/services/testconnection - Test connection * * @param CallContext|null $callContext * @return TestConnection * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function testConnection(?CallContext $callContext = null): TestConnection; /** * Resource /v2/{merchantId}/services/getIINdetails - Get IIN details * * @param GetIINDetailsRequest $body * @param CallContext|null $callContext * @return GetIINDetailsResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getIINDetails(GetIINDetailsRequest $body, ?CallContext $callContext = null): GetIINDetailsResponse; /** * Resource /v2/{merchantId}/services/dccrate - Get currency conversion quote * * @param CurrencyConversionRequest $body * @param CallContext|null $callContext * @return CurrencyConversionResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getDccRateInquiry(CurrencyConversionRequest $body, ?CallContext $callContext = null): CurrencyConversionResponse; /** * Resource /v2/{merchantId}/services/surchargecalculation - Surcharge Calculation * * @param CalculateSurchargeRequest $body * @param CallContext|null $callContext * @return CalculateSurchargeResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function surchargeCalculation(CalculateSurchargeRequest $body, ?CallContext $callContext = null): CalculateSurchargeResponse; }