Mileage

public final class Mileage

A list of charges to be levied based on the mileage driven.

Parameters

freeDistance
freeDistanceRatePeriod

Rate period for free distance.

extraCostPerDistance

Constructors

Link copied to clipboard
public Mileage Mileage(CarsDistance freeDistance, String freeDistanceRatePeriod, ExtraCostPerDistance extraCostPerDistance)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
@NotNull()
@Valid()
private final CarsDistance freeDistance
Link copied to clipboard
@NotNull()
@Valid()
private final String freeDistanceRatePeriod

Functions

Link copied to clipboard
public final static Mileage.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Mileage.Builder toBuilder()