Class CurrencyHolder

java.lang.Object
com.broadleafcommerce.money.jackson.CurrencyHolder

public class CurrencyHolder extends Object
Request scoped bean used to hold the currency to be used during deserialization. This value will be used during deserialization in the SystemCurrencyMonetaryDeserializer if set.
  • Constructor Details

    • CurrencyHolder

      public CurrencyHolder()
  • Method Details

    • getCurrency

      public String getCurrency()
      The currency for this request. Nullable.
    • setCurrency

      public void setCurrency(String currency)
      The currency for this request. Nullable.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object