Class CurrencyFormat

java.lang.Object
cm.xd.genapi.ynab.model.CurrencyFormat

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-04-13T16:11:17.024752+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.
  • Field Details

  • Constructor Details

    • CurrencyFormat

      public CurrencyFormat()
  • Method Details

    • isoCode

      public CurrencyFormat isoCode(@Nonnull String isoCode)
    • getIsoCode

      @Nonnull public String getIsoCode()
      Get isoCode
      Returns:
      isoCode
    • setIsoCode

      public void setIsoCode(@Nonnull String isoCode)
    • exampleFormat

      public CurrencyFormat exampleFormat(@Nonnull String exampleFormat)
    • getExampleFormat

      @Nonnull public String getExampleFormat()
      Get exampleFormat
      Returns:
      exampleFormat
    • setExampleFormat

      public void setExampleFormat(@Nonnull String exampleFormat)
    • decimalDigits

      public CurrencyFormat decimalDigits(@Nonnull Integer decimalDigits)
    • getDecimalDigits

      @Nonnull public Integer getDecimalDigits()
      Get decimalDigits
      Returns:
      decimalDigits
    • setDecimalDigits

      public void setDecimalDigits(@Nonnull Integer decimalDigits)
    • decimalSeparator

      public CurrencyFormat decimalSeparator(@Nonnull String decimalSeparator)
    • getDecimalSeparator

      @Nonnull public String getDecimalSeparator()
      Get decimalSeparator
      Returns:
      decimalSeparator
    • setDecimalSeparator

      public void setDecimalSeparator(@Nonnull String decimalSeparator)
    • symbolFirst

      public CurrencyFormat symbolFirst(@Nonnull Boolean symbolFirst)
    • getSymbolFirst

      @Nonnull public Boolean getSymbolFirst()
      Get symbolFirst
      Returns:
      symbolFirst
    • setSymbolFirst

      public void setSymbolFirst(@Nonnull Boolean symbolFirst)
    • groupSeparator

      public CurrencyFormat groupSeparator(@Nonnull String groupSeparator)
    • getGroupSeparator

      @Nonnull public String getGroupSeparator()
      Get groupSeparator
      Returns:
      groupSeparator
    • setGroupSeparator

      public void setGroupSeparator(@Nonnull String groupSeparator)
    • currencySymbol

      public CurrencyFormat currencySymbol(@Nonnull String currencySymbol)
    • getCurrencySymbol

      @Nonnull public String getCurrencySymbol()
      Get currencySymbol
      Returns:
      currencySymbol
    • setCurrencySymbol

      public void setCurrencySymbol(@Nonnull String currencySymbol)
    • displaySymbol

      public CurrencyFormat displaySymbol(@Nonnull Boolean displaySymbol)
    • getDisplaySymbol

      @Nonnull public Boolean getDisplaySymbol()
      Get displaySymbol
      Returns:
      displaySymbol
    • setDisplaySymbol

      public void setDisplaySymbol(@Nonnull Boolean displaySymbol)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static CurrencyFormat fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of CurrencyFormat to an JSON string
      Returns:
      JSON string