Equipment

public final class Equipment

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

Parameters

code

Special equipment code

name

Special equipment name

ratePeriod

Unit indicating the price of special equipment. Support value:Trip,Daily

price

Constructors

Link copied to clipboard
public Equipment Equipment(String code, String name, String ratePeriod, CarsMoney price)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final String code
Link copied to clipboard
@NotNull()
@Valid()
private final String name
Link copied to clipboard
@Valid()
private final CarsMoney price
Link copied to clipboard
@Valid()
private final String ratePeriod

Functions

Link copied to clipboard
public final static Equipment.Builder builder()
Link copied to clipboard
public final String getCode()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final CarsMoney getPrice()
Link copied to clipboard
public final String getRatePeriod()
Link copied to clipboard