Class BroadleafRequestedCurrencyDto

java.lang.Object
org.broadleafcommerce.common.currency.domain.BroadleafRequestedCurrencyDto

public class BroadleafRequestedCurrencyDto extends Object
The BroadleafCurrencyResolver can be implemented to set the currency (e.g. CurrencyToUse).

This may differ from the currency that was requested (e.g. from the locale, etc.)

By storing the desired currency, we have the opportunity for a later module (like PriceLists) to check the DesiredCurrency and possibly alter the currency for the request.

Author:
bpolster
  • Constructor Details

  • Method Details

    • getCurrencyToUse

      public BroadleafCurrency getCurrencyToUse()
      Returns:
      the currencyToUse
    • getRequestedCurrency

      public BroadleafCurrency getRequestedCurrency()
      Returns:
      the requestedCurrency