Rate

public Rate Rate(String id, Status status, BigDecimal availableRooms, Boolean refundable, Boolean memberDealAvailable, SaleScenario saleScenario, MerchantOfRecord merchantOfRecord, Map<String, Amenity> amenities, RateLinks links, Map<String, BedGroupAvailability> bedGroups, List<CancelPenalty> cancelPenalties, List<NonrefundableDateRange> nonrefundableDateRanges, List<MarketingFeeIncentive> marketingFeeIncentives, Map<String, PricingInformation> occupancyPricing, Promotions promotions, Amount cardOnFileLimit, Amount refundableDamageDeposit, List<Deposit> deposits)

Parameters

id

Unique Identifier for a rate.

status
availableRooms

The number of bookable rooms remaining with this rate in EPS inventory. Use this value to create rules for urgency messaging to alert users to low availability on busy travel dates or at popular properties. If the value returns as 2147483647 (max int value), the actual value could not be determined. Ensure your urgency messaging ignores such instances when returned.

refundable

Indicates if the rate is fully refundable at the time of booking. Cancel penalties may still apply. Please refer to the cancel penalties section for reference.

memberDealAvailable

Indicates if a \"Member Only Deal\" is available for this rate.

saleScenario
merchantOfRecord
amenities

Room amenities.

links
bedGroups

A map of the room's bed groups.

cancelPenalties

Array of cancel_penalty objects containing cancel penalty information.

nonrefundableDateRanges

An array of stay date ranges within this check-in / check-out range that are not refundable. Stay dates within these ranges provide no refund on cancellation, regardless of cancel penalty windows. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A nonrefundable_date_range with start: 2023-09-02 and end: 2023-09-03 would mean 2 of the nights are nonrefundable. The 1st night is refundable, the 2nd and 3rd nights are nonrefundable, and the 4th and 5th nights are refundable, subject to cancel_penalties restrictions.

marketingFeeIncentives

An array of stay date ranges within this check-in / check-out range that have an incentive applied. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A marketing_fee_incentive with start: 2023-09-02 and end: 2023-09-03 would mean 2 of the nights have an incentive applied. The 1st night is not part of the incentive, the 2nd and 3rd nights are part of the incentive, and the 4th and 5th nights are not part of the incentive.

occupancyPricing

A map of room information by occupancy.

promotions
cardOnFileLimit
refundableDamageDeposit
deposits

Array of deposits for the rate.