Package cm.xd.genapi.ynab.model
Class CurrencyFormat
java.lang.Object
cm.xd.genapi.ynab.model.CurrencyFormat
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-26T18:05:30.720340+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class CurrencyFormat
extends Object
The currency format setting for the plan. In some cases the format will not be available and will be specified as null.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrencySymbol(String currencySymbol) decimalDigits(Integer decimalDigits) decimalSeparator(String decimalSeparator) displaySymbol(Boolean displaySymbol) booleanexampleFormat(String exampleFormat) static CurrencyFormatCreate an instance of CurrencyFormat given an JSON stringGet currencySymbolGet decimalDigitsGet decimalSeparatorGet displaySymbolGet exampleFormatGet groupSeparatorGet isoCodeGet symbolFirstgroupSeparator(String groupSeparator) inthashCode()voidsetCurrencySymbol(String currencySymbol) voidsetDecimalDigits(Integer decimalDigits) voidsetDecimalSeparator(String decimalSeparator) voidsetDisplaySymbol(Boolean displaySymbol) voidsetExampleFormat(String exampleFormat) voidsetGroupSeparator(String groupSeparator) voidsetIsoCode(String isoCode) voidsetSymbolFirst(Boolean symbolFirst) symbolFirst(Boolean symbolFirst) toJson()Convert an instance of CurrencyFormat to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ISO_CODE
- See Also:
-
SERIALIZED_NAME_EXAMPLE_FORMAT
- See Also:
-
SERIALIZED_NAME_DECIMAL_DIGITS
- See Also:
-
SERIALIZED_NAME_DECIMAL_SEPARATOR
- See Also:
-
SERIALIZED_NAME_SYMBOL_FIRST
- See Also:
-
SERIALIZED_NAME_GROUP_SEPARATOR
- See Also:
-
SERIALIZED_NAME_CURRENCY_SYMBOL
- See Also:
-
SERIALIZED_NAME_DISPLAY_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CurrencyFormat
public CurrencyFormat()
-
-
Method Details
-
isoCode
-
getIsoCode
Get isoCode- Returns:
- isoCode
-
setIsoCode
-
exampleFormat
-
getExampleFormat
Get exampleFormat- Returns:
- exampleFormat
-
setExampleFormat
-
decimalDigits
-
getDecimalDigits
Get decimalDigits- Returns:
- decimalDigits
-
setDecimalDigits
-
decimalSeparator
-
getDecimalSeparator
Get decimalSeparator- Returns:
- decimalSeparator
-
setDecimalSeparator
-
symbolFirst
-
getSymbolFirst
Get symbolFirst- Returns:
- symbolFirst
-
setSymbolFirst
-
groupSeparator
-
getGroupSeparator
Get groupSeparator- Returns:
- groupSeparator
-
setGroupSeparator
-
currencySymbol
-
getCurrencySymbol
Get currencySymbol- Returns:
- currencySymbol
-
setCurrencySymbol
-
displaySymbol
-
getDisplaySymbol
Get displaySymbol- Returns:
- displaySymbol
-
setDisplaySymbol
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CurrencyFormat
-
fromJson
Create an instance of CurrencyFormat given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CurrencyFormat
- Throws:
IOException- if the JSON string is invalid with respect to CurrencyFormat
-
toJson
Convert an instance of CurrencyFormat to an JSON string- Returns:
- JSON string
-