DiscountOffer constructor
const
DiscountOffer({
- required String currency,
- String? discountAmountMicrosAndroid,
- required String displayPrice,
- String? formattedDiscountAmountAndroid,
- String? fullPriceMicrosAndroid,
- String? id,
- LimitedQuantityInfoAndroid? limitedQuantityInfoAndroid,
- List<
String> ? offerTagsAndroid, - String? offerTokenAndroid,
- int? percentageDiscountAndroid,
- PreorderDetailsAndroid? preorderDetailsAndroid,
- required double price,
- RentalDetailsAndroid? rentalDetailsAndroid,
- required DiscountOfferType type,
- ValidTimeWindowAndroid? validTimeWindowAndroid,
Implementation
const DiscountOffer({
required this.currency,
this.discountAmountMicrosAndroid,
required this.displayPrice,
this.formattedDiscountAmountAndroid,
this.fullPriceMicrosAndroid,
this.id,
this.limitedQuantityInfoAndroid,
this.offerTagsAndroid,
this.offerTokenAndroid,
this.percentageDiscountAndroid,
this.preorderDetailsAndroid,
required this.price,
this.rentalDetailsAndroid,
required this.type,
this.validTimeWindowAndroid,
});