Class CompositeCurrencyContextProvider

    • Constructor Detail

    • Method Detail

      • getContext

        public com.broadleafcommerce.money.CurrencyContext getContext​(@NonNull
                                                                      Object source,
                                                                      @Nullable
                                                                      ContextInfo contextInfo)
        Description copied from interface: CurrencyContextProvider
        Get the currency from a source object
        Specified by:
        getContext in interface CurrencyContextProvider<Object>
        Parameters:
        source - what to use in the consideration of a currency
        Returns:
        a CurrencyUnit or null if not handled.
      • getDefaultCurrency

        protected com.broadleafcommerce.money.CurrencyContext getDefaultCurrency()