CancelPenalty

public final class CancelPenalty

Parameters

currency

Currency of the amount object.

start

Effective date and time of cancellation penalty in extended ISO 8601 format, with ±hh:mm timezone offset

end

End date and time of cancellation penalty in extended ISO 8601 format, with ±hh:mm timezone offset

amount

The monetary amount of the penalty.

nights

Number of nights charged for as penalty.

percent

Percentage of total booking charged for as penalty. A thirty percent penalty would be returned as 30%

Constructors

Link copied to clipboard
public CancelPenalty CancelPenalty(String currency, String start, String end, String amount, String nights, String percent)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String amount
Link copied to clipboard
@Valid()
private final String currency
Link copied to clipboard
@Valid()
private final String end
Link copied to clipboard
@Valid()
private final String nights
Link copied to clipboard
@Valid()
private final String percent
Link copied to clipboard
@Valid()
private final String start

Functions

Link copied to clipboard
public final static CancelPenalty.Builder builder()
Link copied to clipboard
public final String getAmount()
Link copied to clipboard
public final String getCurrency()
Link copied to clipboard
public final String getEnd()
Link copied to clipboard
public final String getNights()
Link copied to clipboard
public final String getPercent()
Link copied to clipboard
public final String getStart()
Link copied to clipboard