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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe defaultCurrencyUnit
that allMonetaryAmount
instances will be returned in if not otherwise setvoid
void
setDefaultCurrencyCode
(String defaultCurrencyCode) The defaultCurrencyUnit
that allMonetaryAmount
instances will be returned in if not otherwise set
-
Constructor Details
-
BroadleafMoneyConfigurationProperties
public BroadleafMoneyConfigurationProperties()
-
-
Method Details
-
initializeSystemCurrency
@PostConstruct public void initializeSystemCurrency() -
getDefaultCurrencyCode
The defaultCurrencyUnit
that allMonetaryAmount
instances will be returned in if not otherwise set -
setDefaultCurrencyCode
The defaultCurrencyUnit
that allMonetaryAmount
instances will be returned in if not otherwise set
-