CarDetails

public final class CarDetails

Details of requested car.

Parameters

vehicleDetails
supplier
pickupDetails
dropOffDetails
price
cancellationPolicy
onlineCheckIn

Indicate whether the supplier supports online checkin

skipTheCounter

Indicate whether the supplier supports skip the counter

rateDetails
referencePrice
additionalFees

List of additional fees including both mandatory and optional fees.such as young driver fee/drop off fee /CollisionDamageWaiver

taxesAndFeesDetails

List of TaxesAndFees Details

extraFeesDetails

List of ExtraFeesDetails

specialEquipments

Description and costs of any optional special equipment that may be rented with the car.

rentalLimits
noShowPenalty
carPolicies

A list of policies that apply to this car rental.

images

List of image resources of the car product.

rating

Constructors

Link copied to clipboard
public CarDetails CarDetails(VehicleDetails vehicleDetails, Supplier supplier, VendorLocationDetails pickupDetails, VendorLocationDetails dropOffDetails, Price price, CarsCancellationPolicy cancellationPolicy, Boolean onlineCheckIn, Boolean skipTheCounter, RateDetails rateDetails, CarsMoney referencePrice, List<AdditionalFee> additionalFees, List<TaxesAndFees> taxesAndFeesDetails, List<ExtraFees> extraFeesDetails, List<Equipment> specialEquipments, RentalLimits rentalLimits, PenaltyType noShowPenalty, List<CarPolicy> carPolicies, List<Image> images, Rating rating)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<AdditionalFee> additionalFees
Link copied to clipboard
@NotNull()
@Valid()
private final CarsCancellationPolicy cancellationPolicy
Link copied to clipboard
@Valid()
private final List<CarPolicy> carPolicies
Link copied to clipboard
@NotNull()
@Valid()
private final VendorLocationDetails dropOffDetails
Link copied to clipboard
@Valid()
private final List<ExtraFees> extraFeesDetails
Link copied to clipboard
@Valid()
private final List<Image> images
Link copied to clipboard
@Valid()
private final PenaltyType noShowPenalty
Link copied to clipboard
@Valid()
private final Boolean onlineCheckIn
Link copied to clipboard
@NotNull()
@Valid()
private final VendorLocationDetails pickupDetails
Link copied to clipboard
@NotNull()
@Valid()
private final Price price
Link copied to clipboard
@Valid()
private final RateDetails rateDetails
Link copied to clipboard
@Valid()
private final Rating rating
Link copied to clipboard
@Valid()
private final CarsMoney referencePrice
Link copied to clipboard
@Valid()
private final RentalLimits rentalLimits
Link copied to clipboard
@Valid()
private final Boolean skipTheCounter
Link copied to clipboard
@Valid()
private final List<Equipment> specialEquipments
Link copied to clipboard
@NotNull()
@Valid()
private final Supplier supplier
Link copied to clipboard
@Valid()
private final List<TaxesAndFees> taxesAndFeesDetails
Link copied to clipboard
@NotNull()
@Valid()
private final VehicleDetails vehicleDetails

Functions

Link copied to clipboard
public final static CarDetails.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final List<CarPolicy> getCarPolicies()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final List<Image> getImages()
Link copied to clipboard
Link copied to clipboard
public final Boolean getOnlineCheckIn()
Link copied to clipboard
Link copied to clipboard
public final Price getPrice()
Link copied to clipboard
public final RateDetails getRateDetails()
Link copied to clipboard
public final Rating getRating()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getSkipTheCounter()
Link copied to clipboard
Link copied to clipboard
public final Supplier getSupplier()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard