D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
app
/
Libs
/
OnlinePayments
/
Sdk
/
Merchant
/
Products
/
Filename :
ProductsClientInterface.php
back
Copy
<?php /* * This file was automatically generated. */ namespace App\Libs\OnlinePayments\Sdk\Merchant\Products; use App\Libs\OnlinePayments\Sdk\ApiException; use App\Libs\OnlinePayments\Sdk\AuthorizationException; use App\Libs\OnlinePayments\Sdk\Domain\GetPaymentProductsResponse; use App\Libs\OnlinePayments\Sdk\Domain\PaymentProduct; use App\Libs\OnlinePayments\Sdk\Domain\PaymentProductNetworksResponse; use App\Libs\OnlinePayments\Sdk\Domain\ProductDirectory; 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; /** * Products client interface. */ interface ProductsClientInterface { /** * Resource /v2/{merchantId}/products - Get payment products * * @param GetPaymentProductsParams $query * @param CallContext|null $callContext * @return GetPaymentProductsResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getPaymentProducts(GetPaymentProductsParams $query, ?CallContext $callContext = null): GetPaymentProductsResponse; /** * Resource /v2/{merchantId}/products/{paymentProductId} - Get payment product * * @param int $paymentProductId * @param GetPaymentProductParams $query * @param CallContext|null $callContext * @return PaymentProduct * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getPaymentProduct(int $paymentProductId, GetPaymentProductParams $query, ?CallContext $callContext = null): PaymentProduct; /** * Resource /v2/{merchantId}/products/{paymentProductId}/networks - Get payment product networks * * @param int $paymentProductId * @param GetPaymentProductNetworksParams $query * @param CallContext|null $callContext * @return PaymentProductNetworksResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getPaymentProductNetworks(int $paymentProductId, GetPaymentProductNetworksParams $query, ?CallContext $callContext = null): PaymentProductNetworksResponse; /** * Resource /v2/{merchantId}/products/{paymentProductId}/directory - Get payment product directory * * @param int $paymentProductId * @param GetProductDirectoryParams $query * @param CallContext|null $callContext * @return ProductDirectory * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getProductDirectory(int $paymentProductId, GetProductDirectoryParams $query, ?CallContext $callContext = null): ProductDirectory; }