OfferModel constructor

OfferModel({
  1. String? uid,
  2. String? offerId,
  3. bool? canBeReservedWithoutPay,
  4. String? priceGuaranteeExpiresAt,
  5. String? paymentRequiredBy,
  6. double? profit,
  7. String? tripType,
  8. double? taxUsd,
  9. String? currency,
  10. double? onlinePrice,
  11. double? discountedPrice,
  12. String? discountedPercentage,
  13. double? mileageCost,
  14. double? totalOnlinePrice,
  15. double? totalDiscountedPrice,
  16. bool? isDiscounted,
  17. double? adultCost,
  18. bool? searchCreditUsed,
  19. String? source,
  20. List<String>? duffelPassengerIds,
  21. bool? searchedWithCredit,
  22. String? program,
  23. double? totalCostUsdWithTax,
  24. String? duffelOffer,
  25. String? flightClass,
  26. String? flightSubClass,
  27. double? milesToGain,
  28. double? totalDiscountedPriceBTC,
  29. List<TripModel>? trips,
  30. List<PricingOption>? pricingOptions,
  31. EstimateRateQuote? estimate,
  32. bool? updatedOnlinePrice,
  33. double? totalOnlinePriceBTC,
})

Implementation

OfferModel({
  this.uid,
  this.offerId,
  this.canBeReservedWithoutPay,
  this.priceGuaranteeExpiresAt,
  this.paymentRequiredBy,
  this.profit,
  this.tripType,
  this.taxUsd,
  this.currency,
  this.onlinePrice,
  this.discountedPrice,
  this.discountedPercentage,
  this.mileageCost,
  this.totalOnlinePrice,
  this.totalDiscountedPrice,
  this.isDiscounted,
  this.adultCost,
  this.searchCreditUsed,
  this.source,
  this.duffelPassengerIds,
  this.searchedWithCredit,
  this.program,
  this.totalCostUsdWithTax,
  this.duffelOffer,
  this.flightClass,
  this.flightSubClass,
  this.milesToGain,
  this.totalDiscountedPriceBTC,
  this.trips,
  this.pricingOptions,
  this.estimate,
  this.updatedOnlinePrice,
  this.totalOnlinePriceBTC,
});