Search in sources :

Example 1 with PersistableCustomerPopulator

use of com.salesmanager.shop.populator.customer.PersistableCustomerPopulator in project shopizer by shopizer-ecommerce.

the class OrderFacadeImpl method persistableCustomer.

private PersistableCustomer persistableCustomer(Customer customer, MerchantStore store, Language language) throws Exception {
    PersistableCustomerPopulator customerPopulator = new PersistableCustomerPopulator();
    PersistableCustomer persistableCustomer = customerPopulator.populate(customer, new PersistableCustomer(), store, language);
    return persistableCustomer;
}
Also used : PersistableCustomer(com.salesmanager.shop.model.customer.PersistableCustomer) PersistableCustomerPopulator(com.salesmanager.shop.populator.customer.PersistableCustomerPopulator)

Aggregations

PersistableCustomer (com.salesmanager.shop.model.customer.PersistableCustomer)1 PersistableCustomerPopulator (com.salesmanager.shop.populator.customer.PersistableCustomerPopulator)1