KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openbravo > erpCommon > ws > externalSales > OrderLine


1 /*
2  *************************************************************************
3  * The contents of this file are subject to the Openbravo Public License
4  * Version 1.0 (the "License"), being the Mozilla Public License
5  * Version 1.1 with a permitted attribution clause; you may not use this
6  * file except in compliance with the License. You may obtain a copy of
7  * the License at http://www.openbravo.com/legal/license.html
8  * Software distributed under the License is distributed on an "AS IS"
9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
10  * License for the specific language governing rights and limitations
11  * under the License.
12  * The Original Code is Openbravo ERP.
13  * The Initial Developer of the Original Code is Openbravo SL
14  * All portions are Copyright (C) 2001-2006 Openbravo SL
15  * All Rights Reserved.
16  * Contributor(s): ______________________________________.
17  ************************************************************************
18 */

19
20 package org.openbravo.erpCommon.ws.externalSales;
21
22 public class OrderLine {
23     
24    private int orderLineId;
25    private int productId;
26    private double units;
27    private double price;
28    private int taxId;
29     
30     /** Creates a new instance of OrderLine */
31     public OrderLine() {
32     }
33     
34     public int getOrderLineId() {
35         return orderLineId;
36     }
37
38     public void setOrderLineId(int orderLineId) {
39         this.orderLineId = orderLineId;
40     }
41
42     public int getProductId() {
43         return productId;
44     }
45
46     public void setProductId(int productId) {
47         this.productId = productId;
48     }
49
50     public double getUnits() {
51         return units;
52     }
53
54     public void setUnits(double units) {
55         this.units = units;
56     }
57
58     public double getPrice() {
59         return price;
60     }
61
62     public void setPrice(double price) {
63         this.price = price;
64     }
65
66     public int getTaxId() {
67         return taxId;
68     }
69
70     public void setTaxId(int taxId) {
71         this.taxId = taxId;
72     }
73
74 }
75
Popular Tags