Ejemplo n.º 1
0
        public Address(Customer consumer)
        {
            customerName = new string[2];
            addressLine1 = "1200 E. 151st Street";
            city = "Olathe";
            state = "Kansas";
            country = "United States";
            zip = "66062-3426";
            phone = "1234567890";
            preferredBillingAddress = false;
            preferredBillingAddress_img = "--";

            this.customer = consumer;
            customer.getName().Split(customerName,StringSplitOptions.RemoveEmptyEntries);
            this.firstName = customerName[0];
            this.lastName = customerName[1];
            //		this.phone = customer.getPhone();
        }