PolicyClient
final class PolicyClient 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
ArchivePlatformAdditionalFeePolicyResponse
archivePlatformAdditionalFeePolicy(string|null $id = null, bool|null $test = null)
추가 수수료 정책 보관 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 보관합니다.
Future
archivePlatformAdditionalFeePolicyAsync(string|null $id = null, bool|null $test = null)
추가 수수료 정책 보관 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 보관합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
ArchivePlatformContractResponse
archivePlatformContract(string|null $id = null, bool|null $test = null)
계약 보관 기능입니다.
주어진 아이디에 대응되는 계약을 보관합니다.
Future
archivePlatformContractAsync(string|null $id = null, bool|null $test = null)
계약 보관 기능입니다.
주어진 아이디에 대응되는 계약을 보관합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
ArchivePlatformDiscountSharePolicyResponse
archivePlatformDiscountSharePolicy(string|null $id = null, bool|null $test = null)
할인 분담 정책 보관 기능입니다.
주어진 아이디에 대응되는 할인 분담을 보관합니다.
Future
archivePlatformDiscountSharePolicyAsync(string|null $id = null, bool|null $test = null)
할인 분담 정책 보관 기능입니다.
주어진 아이디에 대응되는 할인 분담을 보관합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CreatePlatformAdditionalFeePolicyResponse
createPlatformAdditionalFeePolicy(bool|null $test = null, string|null $id = null, string|null $name = null, array|null $fee = null, string|null $memo = null, string|null $vatPayer = null)
추가 수수료 정책 생성 기능입니다.
새로운 추가 수수료 정책을 생성합니다.
Future
createPlatformAdditionalFeePolicyAsync(bool|null $test = null, string|null $id = null, string|null $name = null, array|null $fee = null, string|null $memo = null, string|null $vatPayer = null)
추가 수수료 정책 생성 기능입니다.
새로운 추가 수수료 정책을 생성합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CreatePlatformContractResponse
createPlatformContract(bool|null $test = null, string|null $id = null, string|null $name = null, string|null $memo = null, array|null $platformFee = null, array|null $settlementCycle = null, string|null $platformFeeVatPayer = null, bool|null $subtractPaymentVatAmount = null)
계약 생성 기능입니다.
새로운 계약을 생성합니다.
Future
createPlatformContractAsync(bool|null $test = null, string|null $id = null, string|null $name = null, string|null $memo = null, array|null $platformFee = null, array|null $settlementCycle = null, string|null $platformFeeVatPayer = null, bool|null $subtractPaymentVatAmount = null)
계약 생성 기능입니다.
새로운 계약을 생성합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
CreatePlatformDiscountSharePolicyResponse
createPlatformDiscountSharePolicy(bool|null $test = null, string|null $id = null, string|null $name = null, int|null $partnerShareRate = null, string|null $memo = null)
할인 분담 정책 생성 기능입니다.
새로운 할인 분담을 생성합니다.
Future
createPlatformDiscountSharePolicyAsync(bool|null $test = null, string|null $id = null, string|null $name = null, int|null $partnerShareRate = null, string|null $memo = null)
할인 분담 정책 생성 기능입니다.
새로운 할인 분담을 생성합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetPlatformAdditionalFeePoliciesResponse
getPlatformAdditionalFeePolicies(bool|null $test = null, array|null $page = null, array|null $filter = null)
추가 수수료 정책 다건 조회 기능입니다.
여러 추가 수수료 정책을 조회합니다.
Future
getPlatformAdditionalFeePoliciesAsync(bool|null $test = null, array|null $page = null, array|null $filter = null)
추가 수수료 정책 다건 조회 기능입니다.
여러 추가 수수료 정책을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
PlatformAdditionalFeePolicy
getPlatformAdditionalFeePolicy(string|null $id = null, bool|null $test = null)
추가 수수료 정책 조회 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 조회합니다.
Future
getPlatformAdditionalFeePolicyAsync(string|null $id = null, bool|null $test = null)
추가 수수료 정책 조회 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
PlatformContract
getPlatformContract(string|null $id = null, bool|null $test = null)
계약 조회 기능입니다.
주어진 아이디에 대응되는 계약을 조회합니다.
Future
getPlatformContractAsync(string|null $id = null, bool|null $test = null)
계약 조회 기능입니다.
주어진 아이디에 대응되는 계약을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetPlatformContractsResponse
getPlatformContracts(bool|null $test = null, array|null $page = null, array|null $filter = null)
계약 다건 조회 기능입니다.
여러 계약을 조회합니다.
Future
getPlatformContractsAsync(bool|null $test = null, array|null $page = null, array|null $filter = null)
계약 다건 조회 기능입니다.
여러 계약을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
GetPlatformDiscountSharePoliciesResponse
getPlatformDiscountSharePolicies(bool|null $test = null, array|null $page = null, array|null $filter = null)
할인 분담 정책 다건 조회 기능입니다.
여러 할인 분담을 조회합니다.
Future
getPlatformDiscountSharePoliciesAsync(bool|null $test = null, array|null $page = null, array|null $filter = null)
할인 분담 정책 다건 조회 기능입니다.
여러 할인 분담을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
PlatformDiscountSharePolicy
getPlatformDiscountSharePolicy(string|null $id = null, bool|null $test = null)
할인 분담 정책 조회 기능입니다.
주어진 아이디에 대응되는 할인 분담을 조회합니다.
Future
getPlatformDiscountSharePolicyAsync(string|null $id = null, bool|null $test = null)
할인 분담 정책 조회 기능입니다.
주어진 아이디에 대응되는 할인 분담을 조회합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
RecoverPlatformAdditionalFeePolicyResponse
recoverPlatformAdditionalFeePolicy(string|null $id = null, bool|null $test = null)
추가 수수료 정책 복원 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 복원합니다.
Future
recoverPlatformAdditionalFeePolicyAsync(string|null $id = null, bool|null $test = null)
추가 수수료 정책 복원 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 복원합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
RecoverPlatformContractResponse
recoverPlatformContract(string|null $id = null, bool|null $test = null)
계약 복원 기능입니다.
주어진 아이디에 대응되는 계약을 복원합니다.
Future
recoverPlatformContractAsync(string|null $id = null, bool|null $test = null)
계약 복원 기능입니다.
주어진 아이디에 대응되는 계약을 복원합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
RecoverPlatformDiscountSharePolicyResponse
recoverPlatformDiscountSharePolicy(string|null $id = null, bool|null $test = null)
할인 분담 정책 복원 기능입니다.
주어진 아이디에 대응되는 할인 분담을 복원합니다.
Future
recoverPlatformDiscountSharePolicyAsync(string|null $id = null, bool|null $test = null)
할인 분담 정책 복원 기능입니다.
주어진 아이디에 대응되는 할인 분담을 복원합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
UpdatePlatformAdditionalFeePolicyResponse
updatePlatformAdditionalFeePolicy(string|null $id = null, bool|null $test = null, array|null $fee = null, string|null $name = null, string|null $memo = null, string|null $vatPayer = null)
추가 수수료 정책 수정 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 업데이트합니다.
Future
updatePlatformAdditionalFeePolicyAsync(string|null $id = null, bool|null $test = null, array|null $fee = null, string|null $name = null, string|null $memo = null, string|null $vatPayer = null)
추가 수수료 정책 수정 기능입니다.
주어진 아이디에 대응되는 추가 수수료 정책을 업데이트합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
UpdatePlatformContractResponse
updatePlatformContract(string|null $id = null, bool|null $test = null, string|null $name = null, string|null $memo = null, array|null $platformFee = null, array|null $settlementCycle = null, string|null $platformFeeVatPayer = null, bool|null $subtractPaymentVatAmount = null)
계약 수정 기능입니다.
주어진 아이디에 대응되는 계약을 업데이트합니다.
Future
updatePlatformContractAsync(string|null $id = null, bool|null $test = null, string|null $name = null, string|null $memo = null, array|null $platformFee = null, array|null $settlementCycle = null, string|null $platformFeeVatPayer = null, bool|null $subtractPaymentVatAmount = null)
계약 수정 기능입니다.
주어진 아이디에 대응되는 계약을 업데이트합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.
UpdatePlatformDiscountSharePolicyResponse
updatePlatformDiscountSharePolicy(string|null $id = null, bool|null $test = null, string|null $name = null, int|null $partnerShareRate = null, string|null $memo = null)
할인 분담 정책 수정 기능입니다.
주어진 아이디에 대응되는 할인 분담을 업데이트합니다.
Future
updatePlatformDiscountSharePolicyAsync(string|null $id = null, bool|null $test = null, string|null $name = null, int|null $partnerShareRate = null, string|null $memo = null)
할인 분담 정책 수정 기능입니다.
주어진 아이디에 대응되는 할인 분담을 업데이트합니다. 비동기 요청을 시작하며, 반환된 Future에서 결과를 기다릴 수 있습니다.