Package org.broadleafcommerce.common.currency.domain

Examples of org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl


public class BroadleafCurrencyProvider {
 
    @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 } };
    }
View Full Code Here


       
        return new Object[][] { { currency } };
    }
    @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 } };
    }
View Full Code Here

TOP

Related Classes of org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.