CarsWarning

public final class CarsWarning

Container for warning codes

Parameters

code

Standardized warning code.

description

Standardized warning description message.

originalPrice
newPrice
changedAmount
changedPercentage

The changed percentage. In the sample 2.97 means the changed percentage is 2.97%.

links

Constructors

Link copied to clipboard
public CarsWarning CarsWarning(String code, String description, CarsMoney originalPrice, CarsMoney newPrice, CarsMoney changedAmount, String changedPercentage, Map<String, CarsLink> links)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final CarsMoney changedAmount
Link copied to clipboard
@Valid()
private final String changedPercentage
Link copied to clipboard
@NotNull()
@Valid()
private final String code
Link copied to clipboard
@NotNull()
@Valid()
private final String description
Link copied to clipboard
@Valid()
private final Map<String, CarsLink> links
Link copied to clipboard
@Valid()
private final CarsMoney newPrice
Link copied to clipboard
@Valid()
private final CarsMoney originalPrice

Functions

Link copied to clipboard
public final static CarsWarning.Builder builder()
Link copied to clipboard
public final CarsMoney getChangedAmount()
Link copied to clipboard
Link copied to clipboard
public final String getCode()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final Map<String, CarsLink> getLinks()
Link copied to clipboard
public final CarsMoney getNewPrice()
Link copied to clipboard
public final CarsMoney getOriginalPrice()
Link copied to clipboard