CommercePayload class

Commerce 결제 요청용 페이로드 모델

Constructors

CommercePayload({String clientKey = '', String? name, String? memo, CommerceUser? user, double price = 0, String? redirectUrl, String? usageApiUrl, bool useAutoLogin = false, String? requestId, bool useNotification = false, List<CommerceProduct>? products, Map<String, String>? metadata, CommerceExtra? extra})
CommercePayload.fromJson(Map<String, dynamic> json)
factory

Properties

clientKey ↔ String
클라이언트 키 (Commerce 대시보드에서 발급)
getter/setter pair
extra ↔ CommerceExtra?
추가 옵션
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
memo ↔ String?
메모
getter/setter pair
metadata ↔ Map<String, String>?
메타데이터 (추가 정보)
getter/setter pair
name ↔ String?
청구서/주문 이름
getter/setter pair
price ↔ double
결제 금액
getter/setter pair
products ↔ List<CommerceProduct>?
상품 목록
getter/setter pair
redirectUrl ↔ String?
결제 완료 후 리다이렉트 URL
getter/setter pair
requestId ↔ String?
요청 ID (주문 ID)
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usageApiUrl ↔ String?
사용량 API URL (구독 결제 시)
getter/setter pair
useAutoLogin ↔ bool
자동 로그인 사용 여부
getter/setter pair
useNotification ↔ bool
알림 사용 여부
getter/setter pair
user ↔ CommerceUser?
사용자 정보
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toJsonString() → String
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited