OfferModel constructor
OfferModel({ - String? uid,
- String? offerId,
- bool? canBeReservedWithoutPay,
- String? priceGuaranteeExpiresAt,
- String? paymentRequiredBy,
- double? profit,
- String? tripType,
- double? taxUsd,
- String? currency,
- double? onlinePrice,
- double? discountedPrice,
- String? discountedPercentage,
- double? mileageCost,
- double? totalOnlinePrice,
- double? totalDiscountedPrice,
- bool? isDiscounted,
- double? adultCost,
- bool? searchCreditUsed,
- String? source,
- List<String>? duffelPassengerIds,
- bool? searchedWithCredit,
- String? program,
- double? totalCostUsdWithTax,
- String? duffelOffer,
- String? flightClass,
- String? flightSubClass,
- double? milesToGain,
- double? totalDiscountedPriceBTC,
- List<TripModel>? trips,
- List<PricingOption>? pricingOptions,
- EstimateRateQuote? estimate,
- bool? updatedOnlinePrice,
- 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,
});