CancellationPolicy

public CancellationPolicy CancellationPolicy(WaiverPolicy waiverPolicy, Boolean cancellableOnline, Boolean refundable, Boolean freeCancellation, OffsetDateTime freeCancellationEndDateTime, List<CancellationPenaltyRule> cancellationPenaltyRules, String cancelPolicyDescription, List<NonRefundableDateRange> nonRefundableDateRanges)

Parameters

waiverPolicy
cancellableOnline

Boolean value to identify if the reservation can be cancelled online. If false, the customer will only be able to cancel a refundable room by calling Expedia Customer Service.

refundable

Indicate whether the rate is refundable or not.

freeCancellation

Indicate whether the room can be cancelled free of charge.

freeCancellationEndDateTime

The date and time until which the room can be cancelled free of charge. This is expressed in the local time of the Hotel.

cancellationPenaltyRules

Container for cancellation penalty details.

cancelPolicyDescription

Additional cancellation policy information available as static text.

nonRefundableDateRanges

A list of dates ranges that are non-refundable. Note: The stay dates in those date ranges will always be charged whenever there is any cancellation penalty rule.