Car

public final class Car

List of cars matching the search criteria.

Parameters

id

Uniquely identifies a Car Offer.Note: since pay-online and pay-at-the-counter Car Offers have the same associated Rate Code, the Offer ID is the only unique identifier to differentiate between the two offers when referencing or booking.

vehicleDetails
supplier
pickupDetails
dropOffDetails
price
cancellationPolicy
dataTimeStamp

DataTimeStamp

onlineCheckIn

Indicate whether the supplier supports online checkin

skipTheCounter

Indicate whether the supplier supports skip the counter

links

A map of links to other Car APIs or Expedia websites.

rateDetails
referencePrice
additionalFees

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

noShowPenalty
images

List of image resources of the car product.

rating

Constructors

Link copied to clipboard
public Car Car(String id, VehicleDetails vehicleDetails, Supplier supplier, VendorLocationDetails pickupDetails, VendorLocationDetails dropOffDetails, Price price, CarsCancellationPolicy cancellationPolicy, OffsetDateTime dataTimeStamp, Boolean onlineCheckIn, Boolean skipTheCounter, Map<String, CarsLink> links, RateDetails rateDetails, CarsMoney referencePrice, List<AdditionalFee> additionalFees, PenaltyType noShowPenalty, List<Image> images, RatingWithoutDetails 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
Link copied to clipboard
@NotNull()
@Valid()
private final VendorLocationDetails dropOffDetails
Link copied to clipboard
@NotNull()
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final List<Image> images
Link copied to clipboard
@Valid()
private final Map<String, CarsLink> links
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 RatingWithoutDetails rating
Link copied to clipboard
@Valid()
private final CarsMoney referencePrice
Link copied to clipboard
@Valid()
private final Boolean skipTheCounter
Link copied to clipboard
@NotNull()
@Valid()
private final Supplier supplier
Link copied to clipboard
@NotNull()
@Valid()
private final VehicleDetails vehicleDetails

Functions

Link copied to clipboard
public final static Car.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getId()
Link copied to clipboard
public final List<Image> getImages()
Link copied to clipboard
public final Map<String, CarsLink> getLinks()
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
Link copied to clipboard
Link copied to clipboard
public final Boolean getSkipTheCounter()
Link copied to clipboard
public final Supplier getSupplier()
Link copied to clipboard
Link copied to clipboard
public final Car.Builder toBuilder()