public class MonetaryDiscount
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
MonetaryDiscount()
Constructor for MonetaryDiscount.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getOrderItemIds()
Get order item IDs of the items to which the discount applies.
|
java.math.BigDecimal |
getValue()
Get the adjustment value.
|
void |
setOrderItemIds(java.lang.Long[] newOrderItemId)
Set the order item IDs to which the discount applies.
|
void |
setValue(java.math.BigDecimal newValue)
Set the adjustment value.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long[] getOrderItemIds()
public java.math.BigDecimal getValue()
public void setOrderItemIds(java.lang.Long[] newOrderItemId)
newOrderItemId - java.lang.Longpublic void setValue(java.math.BigDecimal newValue)
newAmount - java.math.BigDecimal