public class MixedDiscount
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
MixedDiscount()
Constructor for MixedDiscount.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] |
getItemIds()
Get item IDs of the order items to which the discount will apply.
|
java.lang.String[] |
getServices()
Get services associated with this discount.
|
java.math.BigDecimal |
getValue()
Get the value of the adjustment associated with the discount.
|
void |
setItemIds(java.lang.Long[] newItemIds)
Set item IDs.
|
void |
setServices(java.lang.String[] newServices)
Set services associated with this discount.
|
void |
setValue(java.math.BigDecimal newValue)
Set the adjustment value for this discount.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long[] getItemIds()
public java.lang.String[] getServices()
public java.math.BigDecimal getValue()
public void setItemIds(java.lang.Long[] newItemIds)
newItemIds
- The IDs of the order items to set for this discount.public void setServices(java.lang.String[] newServices)
newServices
- The services to set for this discount object.public void setValue(java.math.BigDecimal newValue)
newValue
- The adjustment value to set for this discount.