CashReceiptClient
final class CashReceiptClient extends AbstractClient (View source)
현금영수증 API 작업을 제공합니다.
Properties
| protected RequestExecutor | $executor | from AbstractClient |
Methods
PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
현금 영수증 취소 기능입니다.
현금 영수증 취소 기능입니다.
현금 영수증 단건 조회 기능입니다.
현금 영수증 단건 조회 기능입니다.
현금영수증 다건 조회 기능입니다.
현금영수증 다건 조회 기능입니다.
현금 영수증 수동 발급 기능입니다.
현금 영수증 수동 발급 기능입니다.
Details
__construct(string $apiSecret, RequestExecutor|null $executor = null)
PortOne API Secret과 선택적으로 전달된 공용 요청 실행기로 클라이언트를 초기화합니다.
array
__debugInfo()
인증 정보가 디버그 출력에 노출되지 않도록 빈 정보를 반환합니다.
array
__serialize()
인증 정보가 직렬화되어 노출되지 않도록 직렬화를 거부합니다.
void
__unserialize(array $data)
인증 정보가 포함된 객체의 역직렬화를 거부합니다.
protected RequestExecutor
createExecutor(string $apiSecret)
No description
protected object
callOperation(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)
No description
protected Future
callOperationAsync(string $operation, string $method, string $path, array $parameters, string $responseClass, bool $requestBody)
No description
protected object
callOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected Future
callOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected object
callOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected Future
callOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body, string $responseClass)
No description
protected string
callStringOperation(string $operation, string $method, string $path, array $options = [])
No description
protected Future
callStringOperationAsync(string $operation, string $method, string $path, array $options = [])
No description
protected string
callStringOperationWithQueryRequestBody(string $operation, string $method, string $path, array $query, array $body)
No description
protected Future
callStringOperationWithQueryRequestBodyAsync(string $operation, string $method, string $path, array $query, array $body)
No description
protected void
callUnitOperation(string $operation, string $method, string $path, array $options = [])
No description
protected Future
callUnitOperationAsync(string $operation, string $method, string $path, array $options = [])
No description
protected void
callUnitOperationWithQueryAndBody(string $operation, string $method, string $path, array $query, array $body)
No description
protected Future
callUnitOperationWithQueryAndBodyAsync(string $operation, string $method, string $path, array $query, array $body)
No description
protected void
callUnitOperationWithQuery(string $operation, string $method, string $path, array $query)
No description
protected Future
callUnitOperationWithQueryAsync(string $operation, string $method, string $path, array $query)
No description
CancelCashReceiptResponse
cancelCashReceiptByPaymentId(string|null $paymentId = null, string|null $storeId = null)
현금 영수증 취소 기능입니다.
현금 영수증 취소를 요청합니다.
Future
cancelCashReceiptByPaymentIdAsync(string|null $paymentId = null, string|null $storeId = null)
현금 영수증 취소 기능입니다.
현금 영수증 취소를 요청합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CashReceipt
getCashReceiptByPaymentId(string|null $paymentId = null, string|null $storeId = null)
현금 영수증 단건 조회 기능입니다.
주어진 결제 아이디에 대응되는 현금 영수증 내역을 조회합니다.
Future
getCashReceiptByPaymentIdAsync(string|null $paymentId = null, string|null $storeId = null)
현금 영수증 단건 조회 기능입니다.
주어진 결제 아이디에 대응되는 현금 영수증 내역을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetCashReceiptsResponse
getCashReceipts(array|null $page = null, array|null $sort = null, array|null $filter = null)
현금영수증 다건 조회 기능입니다.
주어진 조건에 맞는 현금영수증들을 페이지 기반으로 조회합니다.
Future
getCashReceiptsAsync(array|null $page = null, array|null $sort = null, array|null $filter = null)
현금영수증 다건 조회 기능입니다.
주어진 조건에 맞는 현금영수증들을 페이지 기반으로 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
IssueCashReceiptResponse
issueCashReceipt(string|null $paymentId = null, string|null $channelKey = null, string|null $type = null, string|null $orderName = null, string|null $currency = null, array|null $amount = null, string|null $productType = null, array|null $customer = null, string|null $paidAt = null, string|null $businessRegistrationNumber = null, string|null $paymentMethod = null, string|null $storeId = null)
현금 영수증 수동 발급 기능입니다.
현금 영수증 발급을 요청합니다.
Future
issueCashReceiptAsync(string|null $paymentId = null, string|null $channelKey = null, string|null $type = null, string|null $orderName = null, string|null $currency = null, array|null $amount = null, string|null $productType = null, array|null $customer = null, string|null $paidAt = null, string|null $businessRegistrationNumber = null, string|null $paymentMethod = null, string|null $storeId = null)
현금 영수증 수동 발급 기능입니다.
현금 영수증 발급을 요청합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.