]> git.mxchange.org Git - pizzaservice-war.git/blob - src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebController.java
Continued:
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / checkout / CheckoutWebController.java
1 /*
2  * Copyright (C) 2015 Roland Haeder
3  *
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.
8  *
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.
13  *
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/>.
16  */
17 package org.mxchange.pizzaapplication.beans.checkout;
18
19 import java.io.Serializable;
20 import org.mxchange.jcore.model.contact.gender.Gender;
21
22 /**
23  * An interface for the shop
24  *
25  * @author Roland Haeder<roland@mxchange.org>
26  */
27 public interface CheckoutWebController extends Serializable {
28         /**
29          * Runs the actual checkout and returns a proper page redirection target.
30          * 
31          * @return Page redirection target
32          */
33         public String doCheckout ();
34
35         /**
36          * Getter for cellphone number
37          *
38          * @return Cellphone number
39          */
40         public String getCellphoneNumber ();
41
42         /**
43          * Setter for cellphone number
44          *
45          * @param cellphoneNumber Cellphone number
46          */
47         public void setCellphoneNumber (final String cellphoneNumber);
48
49         /**
50          * Getter for city
51          *
52          * @return Cellphone number
53          */
54         public String getCity ();
55
56         /**
57          * Setter for city
58          *
59          * @param city City
60          */
61         public void setCity (final String city);
62
63         /**
64          * Getter for company name
65          *
66          * @return City
67          */
68         public String getCompanyName ();
69
70         /**
71          * Setter for company name
72          *
73          * @param companyName Company name
74          */
75         public void setCompanyName (final String companyName);
76
77         /**
78          * Getter for family name
79          *
80          * @return Company name
81          */
82         public String getFamilyName ();
83
84         /**
85          * Setter for family name
86          *
87          * @param familyName Family name
88          */
89         public void setFamilyName (final String familyName);
90
91         /**
92          * Getter for fax number
93          *
94          * @return Family name
95          */
96         public String getFaxNumber ();
97
98         /**
99          * Setter for fax number
100          *
101          * @param faxNumber First name
102          */
103         public void setFaxNumber (final String faxNumber);
104
105         /**
106          * Getter for first name
107          *
108          * @return First name
109          */
110         public String getFirstName ();
111
112         /**
113          * Setter for first name
114          *
115          * @param firstName Gender
116          */
117         public void setFirstName (final String firstName);
118
119         /**
120          * Getter for gender
121          *
122          * @return Gender
123          */
124         public Gender getGender ();
125
126         /**
127          * Setter for gender
128          *
129          * @param gender Gender
130          */
131         public void setGender (final Gender gender);
132
133         /**
134          * Getter for house number
135          *
136          * @return House number
137          */
138         public Long getHouseNumber ();
139
140         /**
141          * Setter for house number
142          *
143          * @param houseNumber House number
144          */
145         public void setHouseNumber (final Long houseNumber);
146
147         /**
148          * Getter for phone number
149          *
150          * @return Phone number
151          */
152         public String getPhoneNumber ();
153
154         /**
155          * Setter for phone number
156          *
157          * @param phoneNumber Phone number
158          */
159         public void setPhoneNumber (final String phoneNumber);
160
161         /**
162          * Getter for street
163          *
164          * @return Street
165          */
166         public String getStreet ();
167
168         /**
169          * Setter for street
170          *
171          * @param street Street
172          */
173         public void setStreet (final String street);
174
175         /**
176          * Getter for ZIP code
177          *
178          * @return ZIP code
179          */
180         public Long getZipCode ();
181
182         /**
183          * Setter for ZIP code
184          *
185          * @param zipCode ZIP code
186          */
187         public void setZipCode (final Long zipCode);
188 }