com.ibm.commerce.discount.rules
Class MonetaryDiscount

java.lang.Object
  |
  +--com.ibm.commerce.discount.rules.MonetaryDiscount

public class MonetaryDiscount
extends java.lang.Object

This class represents a MonetaryDiscount type


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
MonetaryDiscount()
          Constructor for MonetaryDiscount.
 
Method Summary
 java.lang.Long[] getOrderItemIds()
          Get order item IDs
 java.math.BigDecimal getValue()
          Get value
 void setOrderItemIds(java.lang.Long[] newOrderItemId)
          Set order item IDs.
 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
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

MonetaryDiscount

public MonetaryDiscount()
Constructor for MonetaryDiscount.
Method Detail

getOrderItemIds

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

getValue

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

setOrderItemIds

public void setOrderItemIds(java.lang.Long[] newOrderItemId)
Set order item IDs.
Parameters:
newOrderItemId - java.lang.Long

setValue

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