final class GatewayPayment (View source)

PortOne 조회 결과를 담는 값 객체.

Methods

__construct(string $status, int|null $totalAmount, bool $found = true, int|null $cancelledAmount = null)

No description

Details

__construct(string $status, int|null $totalAmount, bool $found = true, int|null $cancelledAmount = null)

No description

Parameters

string $status

PortOne 결제 상태(예: PAID). PortOne이 결제를 모르면 PAYMENT_NOT_FOUND

int|null $totalAmount

PortOne 실결제 총액(원, 미결제 시 null 가능)

bool $found

PortOne이 결제를 알고 있는지(만료 확인용 조회에서만 false가 될 수 있다)

int|null $cancelledAmount

PortOne 취소 총액(원, amount.cancelled. 응답에 없으면 null)