Price

public final class Price

Pricing information for the rental.

Parameters

totalPrice
ratePeriodUnitPrice
basePrice
taxesAndFees
totalPriceDueAtBooking

Constructors

Link copied to clipboard
public Price Price(CarsMoney totalPrice, CarsMoney ratePeriodUnitPrice, CarsMoney basePrice, CarsMoney taxesAndFees, CarsMoney totalPriceDueAtBooking)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final CarsMoney basePrice
Link copied to clipboard
@Valid()
private final CarsMoney ratePeriodUnitPrice
Link copied to clipboard
@Valid()
private final CarsMoney taxesAndFees
Link copied to clipboard
@NotNull()
@Valid()
private final CarsMoney totalPrice
Link copied to clipboard
@Valid()
private final CarsMoney totalPriceDueAtBooking

Functions

Link copied to clipboard
public final static Price.Builder builder()
Link copied to clipboard
public final CarsMoney getBasePrice()
Link copied to clipboard
Link copied to clipboard
public final CarsMoney getTaxesAndFees()
Link copied to clipboard
public final CarsMoney getTotalPrice()
Link copied to clipboard
Link copied to clipboard
public final Price.Builder toBuilder()