CancellationPolicy

public final class CancellationPolicy

Container for room cancellation policy.

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.

Constructors

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

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Boolean cancellableOnline
Link copied to clipboard
Link copied to clipboard
@Valid()
private final String cancelPolicyDescription
Link copied to clipboard
@Valid()
private final Boolean freeCancellation
Link copied to clipboard
Link copied to clipboard
@Valid()
private final Boolean refundable
Link copied to clipboard
@Valid()
private final WaiverPolicy waiverPolicy

Functions

Link copied to clipboard
public final static CancellationPolicy.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getRefundable()
Link copied to clipboard
Link copied to clipboard