Package org.company.recordshop.service.dto

Examples of org.company.recordshop.service.dto.CustomerWithOrdersAndOrderLines


            }
        }
    }

    private CustomerWithOrdersAndOrderLines createCustomerDto(String[] orderNumbers, String[] productNumbers) {
        CustomerWithOrdersAndOrderLines result = new CustomerWithOrdersAndOrderLines();
        result.setBirthDate(new DateTime("1955-10-17"));
        result.setFirstName("Piet");
        result.setLastName("Heijn");
        result.setCustomerNr(1);

        for (String orderNumber : orderNumbers) {
            result.addToOrders(createOrder(orderNumber, productNumbers));
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of org.company.recordshop.service.dto.CustomerWithOrdersAndOrderLines

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.