public class ServiceDiscount
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.Integer | DISCOUNT_APPLY_TYPE_ALLAFFECTED
ApplyType for AllAffectedItems
|
static java.lang.Integer | DISCOUNT_APPLY_TYPE_INDIVIDUAL
ApplyType for IndividualItems
|
static java.lang.Integer | DISCOUNT_APPLY_TYPE_WHOLEORDER
ApplyType for WholeOrder
|
Constructor and Description |
---|
ServiceDiscount()
Constructor for ServiceDiscount.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getApplyType()
Get the service discount apply type which is used to indicate the type of the Adjustment from which the ServiceDiscount was created.
|
java.lang.String | getInternalShippingMode()
Get internal shipping mode in String type.
|
java.lang.Integer | getMode()
Get the mode of the Adjustment for which the ServiceDiscount is created.
|
java.lang.Long[] | getOrderItemIds()
Get the order item IDs for the order items to which the ServiceDiscount will apply.
|
java.math.BigDecimal | getQuantity()
Get quantity.
|
java.lang.String | getServiceName()
Get service name, for example "wcs_shipping".
|
java.lang.Integer | getShippingMode()
Get shipping mode in Integer type.
|
java.math.BigDecimal | getStartsAt()
Get the subset of the order item quantity referred to by the AssociatedOrderItem.
|
java.math.BigDecimal | getValue()
Get the adjustment value associated with the ServiceDiscount.
|
void | setApplyType(java.lang.Integer newValue)
Set the service discount apply type which is used to indicate the type of the Adjustment from which the ServiceDiscount was created.
|
void | setInternalShippingMode(java.lang.String newValue)
Set internal shipping mode by passing String value.
|
void | setMode(java.lang.Integer newMode)
Set the mode of the Adjustment for which the ServiceDiscount is created.
|
void | setOrderItemIds(java.lang.Long[] newOrderItemId)
Set the order item IDs for the order items to which the ServiceDiscount will apply.
|
void | setQuantity(java.math.BigDecimal newQuantity)
Set quantity.
|
void | setServiceName(java.lang.String newServiceName)
Set the service name, for example "wcs_shipping".
|
void | setShippingMode(java.lang.Integer newShippingMode)
Set shipping mode by passing Integer value.
|
void | setStartsAt(java.math.BigDecimal newStartsAt)
Set the subset of the order item quantity referred to by the AssociatedOrderItem.
|
void | setValue(java.math.BigDecimal newValue)
Set the adjustment value for the ServiceDiscount object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.Integer DISCOUNT_APPLY_TYPE_WHOLEORDER
public static final java.lang.Integer DISCOUNT_APPLY_TYPE_ALLAFFECTED
public static final java.lang.Integer DISCOUNT_APPLY_TYPE_INDIVIDUAL
public java.lang.Integer getMode()
public java.lang.String getServiceName()
public java.lang.Integer getShippingMode()
public java.math.BigDecimal getValue()
public void setMode(java.lang.Integer newMode)
public void setServiceName(java.lang.String newServiceName)
public void setShippingMode(java.lang.Integer newShippingMode)
public void setValue(java.math.BigDecimal newValue)
public void setInternalShippingMode(java.lang.String newValue)
public java.lang.String getInternalShippingMode()
public void setApplyType(java.lang.Integer newValue)
public java.lang.Integer getApplyType()
public java.lang.Long[] getOrderItemIds()
public void setOrderItemIds(java.lang.Long[] newOrderItemId)
public java.math.BigDecimal getStartsAt()
public void setStartsAt(java.math.BigDecimal newStartsAt)
public java.math.BigDecimal getQuantity()
public void setQuantity(java.math.BigDecimal newQuantity)