01: /*
02: * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights
03: * Reserved.
04: *
05: * This source code file is distributed by Lutris Technologies, Inc. for
06: * use only by licensed users of product(s) that include this source
07: * file. Use of this source file or the software that uses it is covered
08: * by the terms and conditions of the Lutris Enhydra Development License
09: * Agreement included with this product.
10: *
11: * This Software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
12: * ANY KIND, either express or implied. See the License for the specific terms
13: * governing rights and limitations under the License.
14: *
15: * Contributor(s):
16: *
17: * $Id: OrderForm.java,v 1.1 2006-09-11 12:29:26 sinisa Exp $
18: */
19:
20: package com.lutris.airsent.spec.delivery;
21:
22: import com.lutris.airsent.spec.AirSentException;
23:
24: /**
25: * OrderForm interface.
26: */
27: public interface OrderForm {
28:
29: public boolean getFragile();
30:
31: public void setFragile(boolean f);
32:
33: public boolean getUrgent();
34:
35: public void setUrgent(boolean u);
36:
37: public String getSize();
38:
39: public void setSize(String s);
40:
41: public String getDescription();
42:
43: public void setDescription(String d) throws AirSentException;
44:
45: public String getOrderId();
46:
47: public String getPickUpName();
48:
49: public String getPickUpAddress1();
50:
51: public String getPickUpPhone();
52:
53: public String getPickUpDirections();
54:
55: public String getDropOffName();
56:
57: public String getDropOffAddress1();
58:
59: public String getDropOffPhone();
60:
61: public String getDropOffDirections();
62:
63: public void setPickUpName(String name) throws AirSentException;
64:
65: public void setPickUpAddress1(String addr) throws AirSentException;
66:
67: public void setPickUpDirections(String dir) throws AirSentException;
68:
69: public void setPickUpPhone(String phone) throws AirSentException;
70:
71: public void setDropOffName(String name) throws AirSentException;
72:
73: public void setDropOffAddress1(String addr) throws AirSentException;
74:
75: public void setDropOffPhone(String phone) throws AirSentException;
76:
77: public void setDropOffDirections(String dir)
78: throws AirSentException;
79: }
|