2 * Copyright (C) 2015 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.pizzaapplication.beans.customer;
19 import java.io.Serializable;
20 import org.mxchange.jcore.model.contact.gender.Gender;
21 import org.mxchange.jshopcore.model.customer.Customer;
24 * An interface for customer beans
26 * @author Roland Haeder<roland@mxchange.org>
28 public interface CustomerWebController extends Serializable {
31 * Creates an instance from all properties
33 * @return A Customer instance
35 public Customer createCustomerInstance ();
40 * @return the cellphoneNumber
42 public String getCellphoneNumber ();
47 * @param cellphoneNumber the cellphoneNumber to set
49 public void setCellphoneNumber (final String cellphoneNumber);
56 public String getCity ();
61 * @param city the city to set
63 public void setCity (final String city);
68 * @return the companyName
70 public String getCompanyName ();
75 * @param companyName the companyName to set
77 public void setCompanyName (final String companyName);
82 * @return the countryCode
84 public String getCountryCode ();
89 * @param countryCode the countryCode to set
91 public void setCountryCode (final String countryCode);
96 * @return the emailAddress
98 public String getEmailAddress ();
103 * @param emailAddress the emailAddress to set
105 public void setEmailAddress (final String emailAddress);
110 * @return the familyName
112 public String getFamilyName ();
117 * @param familyName the familyName to set
119 public void setFamilyName (final String familyName);
124 * @return the faxNumber
126 public String getFaxNumber ();
131 * @param faxNumber the faxNumber to set
133 public void setFaxNumber (final String faxNumber);
138 * @return the first name
140 public String getFirstName ();
145 * @param firstName the first name to set
147 public void setFirstName (final String firstName);
150 * Gender of the contact
154 public Gender getGender ();
157 * Gender of the contact
159 * @param gender the gender to set
161 public void setGender (final Gender gender);
166 * @return the houseNumber
168 public Long getHouseNumber ();
173 * @param houseNumber the houseNumber to set
175 public void setHouseNumber (final Long houseNumber);
180 * @return the phoneNumber
182 public String getPhoneNumber ();
187 * @param phoneNumber the phoneNumber to set
189 public void setPhoneNumber (final String phoneNumber);
196 public String getStreet ();
201 * @param street the street to set
203 public void setStreet (final String street);
208 * @return the zipCode
210 public Long getZipCode ();
215 * @param zipCode the zipCode to set
217 public void setZipCode (final Long zipCode);
220 * Checks whether all required personal data is set
222 * @return Whether the required personal data is set
224 public boolean isRequiredPersonalDataSet ();