public class V1Money extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
V1Money.Builder
Class to build instances of
V1Money. |
| Modifier | Constructor and Description |
|---|---|
|
V1Money(Integer amount,
String currencyCode)
Initialization constructor.
|
protected |
V1Money(io.apimatic.core.types.OptionalNullable<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() |
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetAmount()
Internal Getter for Amount.
|
V1Money.Builder |
toBuilder()
Builds a new
V1Money.Builder object. |
String |
toString()
Converts this V1Money into string format.
|
public V1Money(Integer amount, String currencyCode)
amount - Integer value for amount.currencyCode - String value for currencyCode.protected io.apimatic.core.types.OptionalNullable<Integer> internalGetAmount()
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 © 2024. All rights reserved.