SubscriptionOffer class

订阅优惠信息类

Constructors

SubscriptionOffer({String? id, SubscriptionOfferType? type, int? offerPeriodCount, double? price, String? displayPrice, SubscriptionOfferPaymentMode? paymentMode, int? periodCount, SubscriptionPeriodUnit? periodUnit})
SubscriptionOffer.fromMap(Map<String, dynamic> map)
factory

Properties

displayPrice String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
offerPeriodCount int?
final
paymentMode SubscriptionOfferPaymentMode?
final
periodCount int?
final
periodUnit SubscriptionPeriodUnit?
final
price double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SubscriptionOfferType?
final

Methods

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

Operators

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