Class BroadleafMoneyConfigurationProperties

java.lang.Object
com.broadleafcommerce.money.autoconfigure.BroadleafMoneyConfigurationProperties

@ConfigurationProperties("broadleaf.money") public class BroadleafMoneyConfigurationProperties extends Object

Holder for the default Broadleaf system currency. This is declared as a ConfigurationProperties instance so that it will automatically get refreshed if the config server updates it.

Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Constructor Details

    • BroadleafMoneyConfigurationProperties

      public BroadleafMoneyConfigurationProperties()
  • Method Details

    • initializeSystemCurrency

      @PostConstruct public void initializeSystemCurrency()
    • getDefaultCurrencyCode

      public String getDefaultCurrencyCode()
      The default CurrencyUnit that all MonetaryAmount instances will be returned in if not otherwise set
    • setDefaultCurrencyCode

      public void setDefaultCurrencyCode(String defaultCurrencyCode)
      The default CurrencyUnit that all MonetaryAmount instances will be returned in if not otherwise set