public class AmountWithBreakdown extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AmountWithBreakdown.Builder
Class to build instances of
AmountWithBreakdown. |
| Constructor and Description |
|---|
AmountWithBreakdown()
Default constructor.
|
AmountWithBreakdown(String currencyCode,
String value,
AmountBreakdown breakdown)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AmountBreakdown |
getBreakdown()
Getter for Breakdown.
|
String |
getCurrencyCode()
Getter for CurrencyCode.
|
String |
getValue()
Getter for Value.
|
void |
setBreakdown(AmountBreakdown breakdown)
Setter for Breakdown.
|
void |
setCurrencyCode(String currencyCode)
Setter for CurrencyCode.
|
void |
setValue(String value)
Setter for Value.
|
AmountWithBreakdown.Builder |
toBuilder()
Builds a new
AmountWithBreakdown.Builder object. |
String |
toString()
Converts this AmountWithBreakdown into string format.
|
public AmountWithBreakdown()
public AmountWithBreakdown(String currencyCode, String value, AmountBreakdown breakdown)
currencyCode - String value for currencyCode.value - String value for value.breakdown - AmountBreakdown value for breakdown.public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode - Value for Stringpublic String getValue()
public void setValue(String value)
value - Value for Stringpublic AmountBreakdown getBreakdown()
public void setBreakdown(AmountBreakdown breakdown)
breakdown - Value for AmountBreakdownpublic String toString()
public AmountWithBreakdown.Builder toBuilder()
AmountWithBreakdown.Builder object.
Creates the instance with the state of the current model.AmountWithBreakdown.Builder objectCopyright © 2025. All rights reserved.