com.ibm.commerce.discount.rules
Class MixedDiscount

java.lang.Object
  com.ibm.commerce.discount.rules.MixedDiscount

public class MixedDiscount
extends java.lang.Object

This class represents a mixed discount type


Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
Constructor Summary
MixedDiscount()
Constructor for MixedDiscount.
Method Summary
java.lang.Long[] getItemIds()
Get item IDs.
java.lang.String[] getServices()
Get services
java.math.BigDecimal getValue()
Get value
void setItemIds(java.lang.Long[] newItemIds)
Set item IDs.
void setServices(java.lang.String[] newServices)
Set services
void setValue(java.math.BigDecimal newValue)
Set value
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

MixedDiscount

public MixedDiscount()
Constructor for MixedDiscount.
Method Detail

getItemIds

public java.lang.Long[] getItemIds()
Get item IDs.
Returns:
java.lang.Long[]

getServices

public java.lang.String[] getServices()
Get services
Returns:
java.lang.String[]

getValue

public java.math.BigDecimal getValue()
Get value
Returns:
java.math.BigDecimal

setItemIds

public void setItemIds(java.lang.Long[] newItemIds)
Set item IDs.
Parameters:
newItemIds - java.lang.Long[]

setServices

public void setServices(java.lang.String[] newServices)
Set services
Parameters:
newServices - java.lang.String[]

setValue

public void setValue(java.math.BigDecimal newValue)
Set value

Feedback