관리-도구
편집 파일: HostedTokenizationClientInterface.php
<?php /* * This file was automatically generated. */ namespace App\Libs\OnlinePayments\Sdk\Merchant\HostedTokenization; use App\Libs\OnlinePayments\Sdk\ApiException; use App\Libs\OnlinePayments\Sdk\AuthorizationException; use App\Libs\OnlinePayments\Sdk\Domain\CreateHostedTokenizationRequest; use App\Libs\OnlinePayments\Sdk\Domain\CreateHostedTokenizationResponse; use App\Libs\OnlinePayments\Sdk\Domain\GetHostedTokenizationResponse; 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; /** * HostedTokenization client interface. */ interface HostedTokenizationClientInterface { /** * Resource /v2/{merchantId}/hostedtokenizations - Create hosted tokenization session * * @param CreateHostedTokenizationRequest $body * @param CallContext|null $callContext * @return CreateHostedTokenizationResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function createHostedTokenization(CreateHostedTokenizationRequest $body, ?CallContext $callContext = null): CreateHostedTokenizationResponse; /** * Resource /v2/{merchantId}/hostedtokenizations/{hostedTokenizationId} - Get hosted tokenization session * * @param string $hostedTokenizationId * @param CallContext|null $callContext * @return GetHostedTokenizationResponse * * @throws IdempotenceException * @throws ValidationException * @throws AuthorizationException * @throws ReferenceException * @throws PlatformException * @throws ApiException * @throws InvalidResponseException */ function getHostedTokenization(string $hostedTokenizationId, ?CallContext $callContext = null): GetHostedTokenizationResponse; }