RateItinerary

public final class RateItinerary

The rate information associated with the itinerary.

Parameters

id

The id of the rate.

merchantOfRecord
refundable

Indicates whether the itinerary is refundable or not.

cancelRefund
amenities
promotions
cancelPenalties

The cancel penalties associated with the itinerary.

nonrefundableDateRanges

A list of date exceptions. Dates within these ranges provide no refund on cancellation, regardless of cancel penalty windows. Nonrefundable range begins at 00:00:00 on the start date, and ends at 23:59:59 on the end date, in the local time zone of the property.

deposits
cardOnFileLimit
refundableDamageDeposit
pricing

Constructors

Link copied to clipboard
public RateItinerary RateItinerary(String id, MerchantOfRecord merchantOfRecord, Boolean refundable, CancelRefund cancelRefund, List<String> amenities, PromotionsItinerary promotions, List<CancelPenalty> cancelPenalties, List<NonrefundableDateRange> nonrefundableDateRanges, List<DepositItinerary> deposits, Amount cardOnFileLimit, Amount refundableDamageDeposit, PricingInformation pricing)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<String> amenities
Link copied to clipboard
@Valid()
private final List<CancelPenalty> cancelPenalties
Link copied to clipboard
@Valid()
private final CancelRefund cancelRefund
Link copied to clipboard
@Valid()
private final Amount cardOnFileLimit
Link copied to clipboard
@Valid()
private final List<DepositItinerary> deposits
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final MerchantOfRecord merchantOfRecord
Link copied to clipboard
Link copied to clipboard
@Valid()
private final PricingInformation pricing
Link copied to clipboard
@Valid()
private final PromotionsItinerary promotions
Link copied to clipboard
@Valid()
private final Boolean refundable
Link copied to clipboard
@Valid()
private final Amount refundableDamageDeposit

Functions

Link copied to clipboard
public final static RateItinerary.Builder builder()
Link copied to clipboard
public final List<String> getAmenities()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Amount getCardOnFileLimit()
Link copied to clipboard
Link copied to clipboard
public final String getId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getRefundable()
Link copied to clipboard