CommerceProduct class
Commerce 상품 모델
Constructors
- CommerceProduct({String productId = '', int duration = -1, int quantity = 1})
-
CommerceProduct.fromJson(Map<
String, dynamic> json) -
factory
Properties
- duration ↔ int
-
구독 기간 (-1: 무기한)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- productId ↔ String
-
상품 ID (Commerce 대시보드에서 생성된 ID)
getter/setter pair
- quantity ↔ int
-
수량
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited