Builder

public final class Builder

Constructors

Link copied to clipboard
public Car.Builder Car.Builder(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)

Functions

Link copied to clipboard
public final Car.Builder additionalFees(List<AdditionalFee> additionalFees)
Link copied to clipboard
public final Car build()
Link copied to clipboard
public final Car.Builder cancellationPolicy(CarsCancellationPolicy cancellationPolicy)
Link copied to clipboard
public final Car.Builder dataTimeStamp(OffsetDateTime dataTimeStamp)
Link copied to clipboard
public final Car.Builder dropOffDetails(VendorLocationDetails dropOffDetails)
Link copied to clipboard
public final Car.Builder id(String id)
Link copied to clipboard
public final Car.Builder images(List<Image> images)
Link copied to clipboard
public final Car.Builder links(Map<String, CarsLink> links)
Link copied to clipboard
public final Car.Builder noShowPenalty(PenaltyType noShowPenalty)
Link copied to clipboard
public final Car.Builder onlineCheckIn(Boolean onlineCheckIn)
Link copied to clipboard
public final Car.Builder pickupDetails(VendorLocationDetails pickupDetails)
Link copied to clipboard
public final Car.Builder price(Price price)
Link copied to clipboard
public final Car.Builder rateDetails(RateDetails rateDetails)
Link copied to clipboard
public final Car.Builder rating(RatingWithoutDetails rating)
Link copied to clipboard
public final Car.Builder referencePrice(CarsMoney referencePrice)
Link copied to clipboard
public final Car.Builder skipTheCounter(Boolean skipTheCounter)
Link copied to clipboard
public final Car.Builder supplier(Supplier supplier)
Link copied to clipboard
public final Car.Builder vehicleDetails(VehicleDetails vehicleDetails)