Amount

public final class Amount

The monetary amount.

Parameters

value The value of the amount object. Decimal point inline with correct precision.

currency

Currency of the amount object.

Constructors

Link copied to clipboard
public Amount Amount(String value, String currency)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String currency
Link copied to clipboard
@Valid()
private final String value

Functions

Link copied to clipboard
public final static Amount.Builder builder()
Link copied to clipboard
public final String getCurrency()
Link copied to clipboard
public final String getValue()