KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > store > HandlingCharge


1 /*
2  * Created on Nov 11, 2004
3  */

4 package com.openedit.store;
5
6 import org.openedit.money.Money;
7
8 /**
9  * @author dbrown
10  *
11  */

12 public class HandlingCharge
13 {
14     protected String JavaDoc fieldLevel;
15     protected Money fieldCost = Money.ZERO;
16     protected boolean fieldAdditionalCosts;
17
18     public HandlingCharge()
19     {
20     }
21
22     public Money getCost()
23     {
24         return fieldCost;
25     }
26
27     public void setCost(Money inCost)
28     {
29         fieldCost = inCost;
30     }
31
32     public String JavaDoc getLevel()
33     {
34         return fieldLevel;
35     }
36
37     public void setLevel(String JavaDoc inLevel)
38     {
39         fieldLevel = inLevel;
40     }
41
42     public boolean isAdditionalCosts()
43     {
44         return fieldAdditionalCosts;
45     }
46
47     public void setAdditionalCosts(boolean inAdditionalCosts)
48     {
49         fieldAdditionalCosts = inAdditionalCosts;
50     }
51 }
52
Popular Tags