RateDetails

public final class RateDetails

The rate detail information for a car offer.

Parameters

ratePeriod

Rate period. Supported values: Daily,Weekly,Monthly,Trip,Weekend

prePay

Indicates whether this reservation should be paid at the time of booking (true) or at time of rental return (false).

rateCode

Rate plan identifier.

creditCardRequired

Indicates whether credit card is required for booking.

discounts

List of discount information.

mileages

A list of charges to be levied based on the mileage driven.

mobileRate

Indicates whether car offer is mobile rate.

Constructors

Link copied to clipboard
public RateDetails RateDetails(String ratePeriod, Boolean prePay, String rateCode, Boolean creditCardRequired, List<Discount> discounts, List<Mileage> mileages, Boolean mobileRate)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Boolean creditCardRequired
Link copied to clipboard
@Valid()
private final List<Discount> discounts
Link copied to clipboard
@Valid()
private final List<Mileage> mileages
Link copied to clipboard
@Valid()
private final Boolean mobileRate
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean prePay
Link copied to clipboard
@Valid()
private final String rateCode
Link copied to clipboard
@NotNull()
@Valid()
private final String ratePeriod

Functions

Link copied to clipboard
public final static RateDetails.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final List<Discount> getDiscounts()
Link copied to clipboard
public final List<Mileage> getMileages()
Link copied to clipboard
public final Boolean getMobileRate()
Link copied to clipboard
public final Boolean getPrePay()
Link copied to clipboard
public final String getRateCode()
Link copied to clipboard
public final String getRatePeriod()
Link copied to clipboard