View Javadoc

1   /*
2   	Milyn - Copyright (C) 2006 - 2010
3   
4   	This library is free software; you can redistribute it and/or
5   	modify it under the terms of the GNU Lesser General Public
6   	License (version 2.1) as published by the Free Software
7   	Foundation.
8   
9   	This library 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.
12  
13  	See the GNU Lesser General Public License for more details:
14  	http://www.gnu.org/licenses/lgpl.txt
15  */
16  package org.kuali.ole.pojo.edi;
17  
18  import java.math.BigDecimal;
19  
20  /**
21   * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
22   */
23  public class OrderItem {
24      private int quantity;
25      private String productId;
26      private BigDecimal price;
27      private String title;
28  
29      public int getQuantity() {
30          return quantity;
31      }
32  
33      public void setQuantity(int quantity) {
34          this.quantity = quantity;
35      }
36  
37      public String getProductId() {
38          return productId;
39      }
40  
41      public void setProductId(String productId) {
42          this.productId = productId;
43      }
44  
45      public BigDecimal getPrice() {
46          return price;
47      }
48  
49      public void setPrice(BigDecimal price) {
50          this.price = price;
51      }
52  
53      public String getTitle() {
54          return title;
55      }
56  
57      public void setTitle(String title) {
58          this.title = title;
59      }
60  
61      public String toString() {
62          return "ProductID=" + productId + ", Quantity=" + quantity + ", Title='" + title + "', Price=" + price;
63      }
64  }