X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fpizzaapplication%2Fbeans%2Fcustomer%2FCustomerWebBean.java;h=f61d35203afe94e67e56ea501d9a404587e15f9d;hb=ebebe1d437bc13032c5ff28130e8c3902b985e63;hp=ad577807d79e6e9096007ba6b597aaa285833c19;hpb=3d13adebbc804dbff90bcee351658538c1d63147;p=pizzaservice-war.git diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java index ad577807..f61d3520 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java @@ -59,15 +59,11 @@ public class CustomerWebBean implements CustomerWebController { */ private String comment; - /** - * Company name - */ - private String companyName; - /** * Country code */ private String countryCode; + /** * Remote customer bean */ @@ -150,7 +146,7 @@ public class CustomerWebBean implements CustomerWebController { Customer customer = new ShopCustomer(); // Create new contact - Contact contact = new UserContact(this.getGender(), this.getFirstName(), this.getFamilyName(), this.getCompanyName()); + Contact contact = new UserContact(this.getGender(), this.getFirstName(), this.getFamilyName()); contact.setStreet(this.getStreet()); contact.setHouseNumber(this.getHouseNumber()); contact.setZipCode(this.getZipCode()); @@ -188,16 +184,6 @@ public class CustomerWebBean implements CustomerWebController { this.city = city; } - @Override - public String getCompanyName () { - return this.companyName; - } - - @Override - public void setCompanyName (final String companyName) { - this.companyName = companyName; - } - @Override public String getCountryCode () { return this.countryCode;