public class WeightCost
extends java.lang.Object
Constructor and Description |
---|
WeightCost()
Constructor
|
WeightCost(java.math.BigDecimal weight,
java.math.BigDecimal cost)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getCost() |
java.math.BigDecimal |
getWeight() |
void |
setCost(java.math.BigDecimal cost) |
void |
setWeight(java.math.BigDecimal weight) |
public WeightCost()
public WeightCost(java.math.BigDecimal weight, java.math.BigDecimal cost)
weight
- the weightcost
- the costpublic java.math.BigDecimal getWeight()
public void setWeight(java.math.BigDecimal weight)
weight
- The weight to set.public java.math.BigDecimal getCost()
public void setCost(java.math.BigDecimal cost)
cost
- The cost to set.Copyright © 2018 DS Data Systems UK Ltd.