final class PaymentWithCursor (View source)

PortOne V2 API의 결제 건 및 커서 정보를 나타내는 모델입니다.

Methods

__construct(Payment $payment, string $cursor)

PaymentWithCursor 객체를 초기화합니다.

fromArray(array $data)

배열 형식의 API 응답 데이터로 PaymentWithCursor 객체를 생성합니다.

Details

__construct(Payment $payment, string $cursor)

PaymentWithCursor 객체를 초기화합니다.

Parameters

Payment $payment
string $cursor

static PaymentWithCursor fromArray(array $data)

배열 형식의 API 응답 데이터로 PaymentWithCursor 객체를 생성합니다.

Parameters

array $data

Return Value

PaymentWithCursor

변환된 객체입니다.