public class V1Money extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
V1Money.Builder
Class to build instances of
V1Money. |
| Constructor and Description |
|---|
V1Money(Integer amount,
String currencyCode)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getAmount()
Getter for Amount.
|
String |
getCurrencyCode()
Getter for CurrencyCode.
|
int |
hashCode() |
V1Money.Builder |
toBuilder()
Builds a new
V1Money.Builder object. |
String |
toString()
Converts this V1Money into string format.
|
public Integer getAmount()
public String getCurrencyCode()
public String toString()
public V1Money.Builder toBuilder()
V1Money.Builder object.
Creates the instance with the state of the current model.V1Money.Builder objectCopyright © 2022. All rights reserved.