CarDetailsResponse

public final class CarDetailsResponse

Parameters

transactionId

A unique identifier for this transaction.

warnings

Container for warning codes

carDetails
validFormsOfPayment

List of all the forms of payment that will be accepted for the booking of this rental transaction.

links

A map of links to other Car APIs. possible link name: ApiBooking

Constructors

Link copied to clipboard
public CarDetailsResponse CarDetailsResponse(String transactionId, List<CarsWarning> warnings, CarDetails carDetails, List<CarsValidFormsOfPayment> validFormsOfPayment, Map<String, CarsLink> links)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final CarDetails carDetails
Link copied to clipboard
@Valid()
private final Map<String, CarsLink> links
Link copied to clipboard
@NotNull()
@Valid()
private final String transactionId
Link copied to clipboard
Link copied to clipboard
@Valid()
private final List<CarsWarning> warnings

Functions

Link copied to clipboard
public final static CarDetailsResponse.Builder builder()
Link copied to clipboard
public final CarDetails getCarDetails()
Link copied to clipboard
public final Map<String, CarsLink> getLinks()
Link copied to clipboard
public final String getTransactionId()
Link copied to clipboard
public final List<CarsWarning> getWarnings()
Link copied to clipboard