DiscountOffer constructor

const DiscountOffer({
  1. required String currency,
  2. String? discountAmountMicrosAndroid,
  3. required String displayPrice,
  4. String? formattedDiscountAmountAndroid,
  5. String? fullPriceMicrosAndroid,
  6. String? id,
  7. LimitedQuantityInfoAndroid? limitedQuantityInfoAndroid,
  8. List<String>? offerTagsAndroid,
  9. String? offerTokenAndroid,
  10. int? percentageDiscountAndroid,
  11. PreorderDetailsAndroid? preorderDetailsAndroid,
  12. required double price,
  13. RentalDetailsAndroid? rentalDetailsAndroid,
  14. required DiscountOfferType type,
  15. 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,
});