use of org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl in project BroadleafCommerce by BroadleafCommerce.
the class BroadleafCurrencyProvider method provideFRCurrency.
@DataProvider(name = "FRCurrency")
public static Object[][] provideFRCurrency() {
BroadleafCurrency currency = new BroadleafCurrencyImpl();
currency.setCurrencyCode("EUR");
currency.setDefaultFlag(true);
currency.setFriendlyName("EURO Dollar");
return new Object[][] { { currency } };
}
use of org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl in project BroadleafCommerce by BroadleafCommerce.
the class BroadleafCurrencyProvider method provideUSCurrency.
@DataProvider(name = "USCurrency")
public static Object[][] provideUSCurrency() {
BroadleafCurrency currency = new BroadleafCurrencyImpl();
currency.setCurrencyCode("USD");
currency.setDefaultFlag(true);
currency.setFriendlyName("US Dollar");
return new Object[][] { { currency } };
}
Aggregations