Builder

public final class Builder

Constructors

Link copied to clipboard
public Rate.Builder Rate.Builder(String id, Status status, BigDecimal availableRooms, Boolean refundable, Boolean memberDealAvailable, SaleScenario saleScenario, MerchantOfRecord merchantOfRecord, Map<String, Amenity> amenities, RateLinks links, Map<String, BedGroupAvailability> bedGroups, List<CancelPenalty> cancelPenalties, List<NonrefundableDateRange> nonrefundableDateRanges, List<MarketingFeeIncentive> marketingFeeIncentives, Map<String, PricingInformation> occupancyPricing, Promotions promotions, Amount cardOnFileLimit, Amount refundableDamageDeposit, List<Deposit> deposits)

Functions

Link copied to clipboard
public final Rate.Builder amenities(Map<String, Amenity> amenities)
Link copied to clipboard
public final Rate.Builder availableRooms(BigDecimal availableRooms)
Link copied to clipboard
Link copied to clipboard
public final Rate build()
Link copied to clipboard
public final Rate.Builder cancelPenalties(List<CancelPenalty> cancelPenalties)
Link copied to clipboard
public final Rate.Builder cardOnFileLimit(Amount cardOnFileLimit)
Link copied to clipboard
public final Rate.Builder deposits(List<Deposit> deposits)
Link copied to clipboard
public final Rate.Builder id(String id)
Link copied to clipboard
public final Rate.Builder links(RateLinks links)
Link copied to clipboard
public final Rate.Builder marketingFeeIncentives(List<MarketingFeeIncentive> marketingFeeIncentives)
Link copied to clipboard
public final Rate.Builder memberDealAvailable(Boolean memberDealAvailable)
Link copied to clipboard
public final Rate.Builder merchantOfRecord(MerchantOfRecord merchantOfRecord)
Link copied to clipboard
public final Rate.Builder nonrefundableDateRanges(List<NonrefundableDateRange> nonrefundableDateRanges)
Link copied to clipboard
public final Rate.Builder occupancyPricing(Map<String, PricingInformation> occupancyPricing)
Link copied to clipboard
public final Rate.Builder promotions(Promotions promotions)
Link copied to clipboard
public final Rate.Builder refundable(Boolean refundable)
Link copied to clipboard
public final Rate.Builder refundableDamageDeposit(Amount refundableDamageDeposit)
Link copied to clipboard
public final Rate.Builder saleScenario(SaleScenario saleScenario)
Link copied to clipboard
public final Rate.Builder status(Status status)