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 defaultCurrencyUnitthat allMonetaryAmountinstances will be returned in if not otherwise setvoidvoidsetDefaultCurrencyCode(String defaultCurrencyCode) The defaultCurrencyUnitthat allMonetaryAmountinstances will be returned in if not otherwise set
-
Constructor Details
-
BroadleafMoneyConfigurationProperties
public BroadleafMoneyConfigurationProperties()
-
-
Method Details
-
initializeSystemCurrency
@PostConstruct public void initializeSystemCurrency() -
getDefaultCurrencyCode
The defaultCurrencyUnitthat allMonetaryAmountinstances will be returned in if not otherwise set -
setDefaultCurrencyCode
The defaultCurrencyUnitthat allMonetaryAmountinstances will be returned in if not otherwise set
-