com.ibm.commerce.discount.rules
Class ServiceDiscount

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

public class ServiceDiscount
extends java.lang.Object

This class represents a service discount type.


Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
Constructor Summary
ServiceDiscount()
Constructor for ServiceDiscount.
Method Summary
java.lang.String getInternalShippingMode()
Get internal shipping mode in String type
java.lang.Integer getMode()
Get service mode
java.lang.String getServiceName()
Get service name
java.lang.Integer getShippingMode()
Get shipping mode in Integer type
java.math.BigDecimal getValue()
Get value
void setInternalShippingMode(java.lang.String newValue)
Set internal shipping mode by passing String value.
void setMode(java.lang.Integer newMode)
Set service mode
void setServiceName(java.lang.String newServiceName)
Set service name
void setShippingMode(java.lang.Integer newShippingMode)
Set shipping mode by passing Integer value.
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

ServiceDiscount

public ServiceDiscount()
Constructor for ServiceDiscount.
Method Detail

getMode

public java.lang.Integer getMode()
Get service mode
Returns:
java.lang.Integer

getServiceName

public java.lang.String getServiceName()
Get service name
Returns:
java.lang.String

getShippingMode

public java.lang.Integer getShippingMode()
Get shipping mode in Integer type
Returns:
java.lang.Integer

getValue

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

setMode

public void setMode(java.lang.Integer newMode)
Set service mode
Parameters:
newMode - java.lang.Integer

setServiceName

public void setServiceName(java.lang.String newServiceName)
Set service name

setShippingMode

public void setShippingMode(java.lang.Integer newShippingMode)
Set shipping mode by passing Integer value.
Parameters:
newShippingMode - java.lang.Integer

setValue

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

setInternalShippingMode

public void setInternalShippingMode(java.lang.String newValue)
Set internal shipping mode by passing String value.
Parameters:
newValue - java.lang.String

getInternalShippingMode

public java.lang.String getInternalShippingMode()
Get internal shipping mode in String type
Returns:
java.lang.String

Feedback