D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
app
/
Libs
/
OnlinePayments
/
Sdk
/
Merchant
/
Complete
/
Filename :
CompleteClientInterface.php
back
Copy
<?php /* * This file was automatically generated. */ namespace App\Libs\OnlinePayments\Sdk\Merchant\Complete; use App\Libs\OnlinePayments\Sdk\ApiException; use App\Libs\OnlinePayments\Sdk\AuthorizationException; use App\Libs\OnlinePayments\Sdk\DeclinedPaymentException; use App\Libs\OnlinePayments\Sdk\Domain\CompletePaymentRequest; use App\Libs\OnlinePayments\Sdk\Domain\CompletePaymentResponse; 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; /** * Complete client interface. */ interface CompleteClientInterface { /** * Resource /v2/{merchantId}/payments/{paymentId}/complete - Complete payment * * @param string $paymentId * @param CompletePaymentRequest $body * @param CallContext|null $callContext * @return CompletePaymentResponse * * @throws DeclinedPaymentException * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function completePayment(string $paymentId, CompletePaymentRequest $body, ?CallContext $callContext = null): CompletePaymentResponse; }