ProductDiscount class
商品的折扣, ios 用
Constructors
- ProductDiscount.fromAndroidParams(int? price, String? priceCurrency, String? period, int? cycles)
Properties
- discountCycle ↔ int?
-
优惠循环几次
getter/setter pair
- discountId ↔ String?
-
优惠的id
getter/setter pair
- discountPaymentModel ↔ int?
-
优惠的支付方式
0:PayAsYouGo
1:PayUpFront
1:FreeTrial
getter/setter pair
- discountPeriod ↔ String?
-
优惠的周期:采用 ISO 8601 格式指定。例如,P7D 相当于七天
getter/setter pair
- discountPrice ↔ int?
-
优惠的价格
getter/setter pair
- discountPriceCurrency ↔ String?
-
优惠的价格货币代码
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited