Skip to main content

FromBookCriteria

Represents the criteria for creating a quote from a book request. This is used internally by the framework when a booking operation requires a secondary quote.

Properties

NameTypeDescription
BookPriceBookPriceContains the price details associated with the booking.
BookPrice/PricePriceThe price of the booking.
BookPrice/Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
BookPrice/Price/BindingBooleanIndicates whether the price is binding.
BookPrice/Price/NetDoubleThe net price paid by the buyer to the seller.
BookPrice/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
BookPrice/Price/NetSpecifiedBooleanIndicates whether the net price is explicitly specified.
BookPrice/Price
MinimumSellingPrice
DoubleThe minimum selling price.
BookPrice/DeltaPriceDeltaPriceThe delta price, representing any allowable price changes or adjustments.
BookPrice/DeltaPrice/AmountDoubleThe fixed amount allowed for the delta price.
BookPrice/DeltaPrice
Percentage
DoubleThe percentage allowed for the delta price.
DateQuoteStringRepresents the date when the quote is generated during the booking process.
CancelPolicyCancelPolicySpecifies the cancellation policy associated with the booking.
CancelPolicy/RefundableBooleanIndicates whether the booking is refundable.
CancelPolicy/CancelPenaltiesArray<CancelPenalty>A collection of penalties that apply if the booking is canceled.
CancelPolicy/CancelPenalties
HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
CancelPolicy/CancelPenalties
PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
CancelPolicy/CancelPenalties
Currency
CurrencySpecifies the currency in which the penalty value is expressed.
CancelPolicy/CancelPenalties
Value
DoubleIndicates the value of the penalty.
CancelPolicy/CancelPenalties
Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.