CancellationPenaltyRule

public final class CancellationPenaltyRule

Parameters

penaltyNightCount

Specifies the per-stay cancellation fee charged in terms of the cost of the number of nights listed, in addition to any other penalties. The rate charged is based on the earliest night(s) of the stay.

penaltyPercentOfStay

Specifies the per-stay cancellation fee charged as a percentage of the total rate, in addition to any other penalties listed.

penaltyPrice
penaltyStartDateTime

The beginning of the window of time when the CancellationPenaltyRule is in effect. The date and time are expressed in ISO 8601 International Date format, and local to the hotel.

penaltyEndDateTime

The end of the window of time when the CancellationPenaltyRule is in effect. The date and time are expressed in ISO 8601 International Date format, and local to the hotel.

Constructors

Link copied to clipboard
public CancellationPenaltyRule CancellationPenaltyRule(Integer penaltyNightCount, String penaltyPercentOfStay, CancellationPenaltyRulePenaltyPrice penaltyPrice, OffsetDateTime penaltyStartDateTime, OffsetDateTime penaltyEndDateTime)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
private final Integer penaltyNightCount
Link copied to clipboard
@Valid()
private final String penaltyPercentOfStay
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard