Builder

public final class Builder

Constructors

Link copied to clipboard
public RatePlan.Builder RatePlan.Builder(String roomTypeId, String ratePlanId, String rateRuleId, String inventorySourceId, String inventorySourceCode, StayDates stayDates, Integer remainingCount, RatePlanPrice price, Boolean memberOnlyDeal, List<Promotion> promotions, RatePlanStandalonePrice standalonePrice, Boolean taxesAndFeesInclusive, String guaranteeText, RatePlan.PaymentMethod paymentMethod, RatePlan.PaymentTime paymentTime, Boolean fullDepositUponBooking, List<PaymentSchedule> paymentSchedule, Boolean reserveWithDeposit, Boolean freeInternet, Boolean freeWiFi, List<String> freeInternetDetails, Boolean freeParking, Boolean freeBreakfast, List<String> freeBreakfastDetails, Boolean hcomRewardsEarn, Boolean hcomRewardsBurn, CancellationPolicy cancellationPolicy, List<RatePlanAmenitiesInner> amenities)

Functions

Link copied to clipboard
Link copied to clipboard
public final RatePlan build()
Link copied to clipboard
public final RatePlan.Builder cancellationPolicy(CancellationPolicy cancellationPolicy)
Link copied to clipboard
public final RatePlan.Builder freeBreakfast(Boolean freeBreakfast)
Link copied to clipboard
public final RatePlan.Builder freeBreakfastDetails(List<String> freeBreakfastDetails)
Link copied to clipboard
public final RatePlan.Builder freeInternet(Boolean freeInternet)
Link copied to clipboard
public final RatePlan.Builder freeInternetDetails(List<String> freeInternetDetails)
Link copied to clipboard
public final RatePlan.Builder freeParking(Boolean freeParking)
Link copied to clipboard
public final RatePlan.Builder freeWiFi(Boolean freeWiFi)
Link copied to clipboard
public final RatePlan.Builder fullDepositUponBooking(Boolean fullDepositUponBooking)
Link copied to clipboard
public final RatePlan.Builder guaranteeText(String guaranteeText)
Link copied to clipboard
public final RatePlan.Builder hcomRewardsBurn(Boolean hcomRewardsBurn)
Link copied to clipboard
public final RatePlan.Builder hcomRewardsEarn(Boolean hcomRewardsEarn)
Link copied to clipboard
public final RatePlan.Builder inventorySourceCode(String inventorySourceCode)
Link copied to clipboard
public final RatePlan.Builder inventorySourceId(String inventorySourceId)
Link copied to clipboard
public final RatePlan.Builder memberOnlyDeal(Boolean memberOnlyDeal)
Link copied to clipboard
Link copied to clipboard
public final RatePlan.Builder paymentSchedule(List<PaymentSchedule> paymentSchedule)
Link copied to clipboard
Link copied to clipboard
public final RatePlan.Builder price(RatePlanPrice price)
Link copied to clipboard
public final RatePlan.Builder promotions(List<Promotion> promotions)
Link copied to clipboard
public final RatePlan.Builder ratePlanId(String ratePlanId)
Link copied to clipboard
public final RatePlan.Builder rateRuleId(String rateRuleId)
Link copied to clipboard
public final RatePlan.Builder remainingCount(Integer remainingCount)
Link copied to clipboard
public final RatePlan.Builder reserveWithDeposit(Boolean reserveWithDeposit)
Link copied to clipboard
public final RatePlan.Builder roomTypeId(String roomTypeId)
Link copied to clipboard
Link copied to clipboard
public final RatePlan.Builder stayDates(StayDates stayDates)
Link copied to clipboard
public final RatePlan.Builder taxesAndFeesInclusive(Boolean taxesAndFeesInclusive)