public interface CreateCouponDiscountCmd extends TaskCommand
The input to this command is :
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM Copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Deprecated.
Default implementation for the interface.
|
static java.lang.String |
Name
Deprecated.
Name of the interface.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCalCodeId()
Deprecated.
Gets CalCodeId.
|
void |
setAdminDescription(java.lang.String newDescription)
Deprecated.
Sets the AdminsDescription.
|
void |
setAllShoppers(boolean newAllShoppers)
Deprecated.
Sets whether all customer can avail this discount.
|
void |
setAssignedShopperGroups(java.util.Vector newAssignedShopperGroups)
Deprecated.
Sets AssignedShopperGroups if all shoppers can not avail the discount.
|
void |
setCategory(java.util.Vector paramCategory)
Deprecated.
Sets the categories to be included in catgpcalcd table
|
void |
setCode(java.lang.String code)
Deprecated.
Sets the Discount Name.
|
void |
setCurrency(java.lang.String newCurrency)
Deprecated.
Sets Currency for this calculation code.
|
void |
setDescription(java.lang.String newDescription)
Deprecated.
Sets Description.
|
void |
setDiscountValueVector(java.util.Vector newDiscountValueVector)
Deprecated.
Sets DiscountValueVector.
|
void |
setDiscSubType(java.lang.Integer newDiscSubType)
Deprecated.
Sets the type of discount given.
|
void |
setDiscType(java.lang.Integer newDiscType)
Deprecated.
Sets DiscountType.
|
void |
setEndTimestamp(java.sql.Timestamp newEndTimestamp)
Deprecated.
Sets the end of validity period.
|
void |
setGroupBy(java.lang.Integer newGroupBy)
Deprecated.
Sets GroupBy.
|
void |
setHasDateTimeRange(boolean newHasDateTimeRange)
Deprecated.
Indicates whether this calculation code has a date time range.
|
void |
setProduct(java.util.Vector paramProduct)
Deprecated.
Sets the product for the product purchase condition.
|
void |
setRangeFromVector(java.util.Vector newRangeFromVector)
Deprecated.
Sets RangeFromVector.
|
void |
setRangeType(java.lang.Integer newRangeType)
Deprecated.
Sets RangeType.
|
void |
setStartTimestamp(java.sql.Timestamp newStartTimestamp)
Deprecated.
Sets the start time of the calculcation code.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String Name
void setAdminDescription(java.lang.String newDescription)
newDescription - The new description to be assignedvoid setAllShoppers(boolean newAllShoppers)
newAllShoppers - true if all customer can avail this discountvoid setAssignedShopperGroups(java.util.Vector newAssignedShopperGroups)
newAssignedShopperGroups - The customer group that can avail this discount.void setCode(java.lang.String code)
newCode - The name of this calculation code.void setCurrency(java.lang.String newCurrency)
newCurrency - Name of the currency for this calculation code.void setDescription(java.lang.String newDescription)
newDescription - description of the calculation codevoid setDiscountValueVector(java.util.Vector newDiscountValueVector)
newDiscountValueVector - represents the discounts to be givenvoid setDiscSubType(java.lang.Integer newDiscSubType)
newDiscSubType - 0 - percentage discount, 1 - fixed amount discount.void setDiscType(java.lang.Integer newDiscType)
newDiscType - 0 - order level discount, 1 - order item level discount.void setEndTimestamp(java.sql.Timestamp newEndTimestamp)
newEndTimestamp - The time when the discount becomes invalid.void setGroupBy(java.lang.Integer newGroupBy)
newGroupBy - Indicate whether to group or not.void setHasDateTimeRange(boolean newHasDateTimeRange)
new_hasDateTimeRange - true if there is a dateTimeRange.void setProduct(java.util.Vector paramProduct)
void setRangeFromVector(java.util.Vector newRangeFromVector)
newRangeFromVector - Useful for range claculation code.void setRangeType(java.lang.Integer newRangeType)
newRangeType - Indicates the range type.void setStartTimestamp(java.sql.Timestamp newStartTimestamp)
newStartTimestamp - The time when the calculation code becomes effective.java.lang.Integer getCalCodeId()
void setCategory(java.util.Vector paramCategory)
paramCategory - The categories to be included in the catgpcalcd table.