final class PaymentSessionColors (View source)

PortOne V2 API의 체크아웃 페이지 색 설정을 나타내는 모델입니다.

Methods

__construct(string|null $primary, string|null $primaryHover, string|null $primaryLight)

PaymentSessionColors 객체를 초기화합니다.

fromArray(array $data)

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

Details

__construct(string|null $primary, string|null $primaryHover, string|null $primaryLight)

PaymentSessionColors 객체를 초기화합니다.

Parameters

string|null $primary
string|null $primaryHover
string|null $primaryLight

static PaymentSessionColors fromArray(array $data)

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

Parameters

array $data

Return Value

PaymentSessionColors

변환된 객체입니다.