public class ShippingChargeAdjustmentDataBean extends SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static int | ACTION_TYPE_DELETE
Shipping charge adjustment data bean term and condition action type "delete"
|
static int | ACTION_TYPE_NEW
Shipping charge adjustment data bean term and condition action type "new"
|
static int | ACTION_TYPE_NOACTION
Shipping charge adjustment data bean term and condition action type "noaction"
|
static int | ACTION_TYPE_UPDATE
Shipping charge adjustment data bean term and condition action type "update"
|
static int | ADJUSTMENT_TYPE_AMOUNT_OFF
Shipping charge adjustment type is value off.
|
static int | ADJUSTMENT_TYPE_PERCENTAGE_OFF
Shipping charge adjustment type is percentage off.
|
static java.lang.String | POLICY_ALL_SHIPMODES
This default value used for JSP files only.
|
static int | TARGET_TYPE_CATENTRY
The target type of this adjustment is the catalog entry.
|
static int | TARGET_TYPE_CATGROUP
The target type of this adjustment is the catalog group.
|
static int | TARGET_TYPE_ENTIRE_ORDER
The target type of this adjustment is the entire order.
|
Constructor and Description |
---|
ShippingChargeAdjustmentDataBean() |
Modifier and Type | Method and Description |
---|---|
int | getActionType()
Gets the action type so the command knows what to do.
|
int | getAdjustmentType()
Gets the adjustment type.
|
java.lang.String | getAdjustmentValue()
Gets the adjustment value for this shipping charge.
|
java.lang.String | getCatalogId()
Gets the catalog ID to which this reference object belongs.
|
java.lang.String | getCurrency()
Gets the currency of the fixed amount off shipping charge.
|
java.lang.String | getOwnerDn()
Gets the target owner for this shipping charge adjustment
|
java.lang.String | getPolicyId()
Gets the policy ID to which this shipping charge adjustment relates.
|
java.lang.String | getPolicyName()
Gets the policy name which is the unique name of this policy.
|
java.lang.String | getReferenceId()
Gets the reference ID for this shipping adjustment.
|
java.lang.String | getReferenceName()
Gets the reference name for this shipping adjustment.
|
int | getTargetType()
Gets the filter type for this filter
|
java.lang.String | getTermcondId()
Gets the term and condition ID to which this term and condition references.
|
boolean | isAdjustmentType(int adjustmentTypeArg)
Determines whether the adjustment type of this shipping adjustment is of the specified type
|
boolean | isTargetType(int targetTypeArg)
Determines whether the target type of this adjustment is of the specified type
|
void | populate()
This method is the main body of this data bean and is executed when the bean is activated.
|
void | setActionType(int newActionType)
Sets the action type for user interface command management.
|
void | setAdjustmentType(int newAdjustmentType)
Sets the adjustment type for this shipping adjustment
|
void | setAdjustmentValue(java.lang.String newAdjustmentValue)
Sets the adjustment value for this shipping charge adjustment.
|
void | setCatalogId(java.lang.String newCatalogId)
Sets the catalog ID to which the reference object belongs.
|
void | setCurrency(java.lang.String newCurrency)
Sets the currency for the fix amount adjustment.
|
void | setOwnerDn(java.lang.String newOwnerDn)
Sets the owner DN (distinguished name) of the target for this shipping charge adjustment.
|
void | setPolicyId(java.lang.String newPolicyId)
Sets the policy ID for this shipping charge adjustment.
|
void | setPolicyName(java.lang.String newPolicyName)
Sets the policy name for this shipping charge adjustment.
|
void | setReferenceId(java.lang.String newReferenceId)
Sets the reference ID for this shipping charge adjustment.
|
void | setReferenceName(java.lang.String newReferenceName)
Sets the reference name for this shipping charge adjustment.
|
void | setTargetType(int newTargetType)
Sets the target type for this shipping adjustment
|
void | setTermcondId(java.lang.String newTermcondId)
Sets the term and condition ID to which this term and condition references.
|
java.lang.String | toString()
Converts this data bean to a readable string representation for debugging purposes.
|
public static final int ADJUSTMENT_TYPE_PERCENTAGE_OFF
public static final int ADJUSTMENT_TYPE_AMOUNT_OFF
public static final int TARGET_TYPE_ENTIRE_ORDER
public static final int TARGET_TYPE_CATGROUP
public static final int TARGET_TYPE_CATENTRY
public static final int ACTION_TYPE_NOACTION
public static final int ACTION_TYPE_NEW
public static final int ACTION_TYPE_UPDATE
public static final int ACTION_TYPE_DELETE
public static final java.lang.String POLICY_ALL_SHIPMODES
public void populate() throws java.lang.Exception
public int getAdjustmentType()
public java.lang.String getAdjustmentValue()
public java.lang.String getCurrency()
public int getTargetType()
public java.lang.String getReferenceId()
public java.lang.String getOwnerDn()
public java.lang.String getReferenceName()
public java.lang.String getCatalogId()
public java.lang.String getPolicyId()
public java.lang.String getPolicyName()
public java.lang.String getTermcondId()
public boolean isTargetType(int targetTypeArg)
public boolean isAdjustmentType(int adjustmentTypeArg)
public void setAdjustmentType(int newAdjustmentType)
public void setAdjustmentValue(java.lang.String newAdjustmentValue)
public void setCurrency(java.lang.String newCurrency)
public void setPolicyId(java.lang.String newPolicyId)
public void setPolicyName(java.lang.String newPolicyName)
public void setTargetType(int newTargetType)
public void setOwnerDn(java.lang.String newOwnerDn)
public void setReferenceId(java.lang.String newReferenceId)
public void setReferenceName(java.lang.String newReferenceName)
public void setCatalogId(java.lang.String newCatalogId)
public void setTermcondId(java.lang.String newTermcondId)
public void setActionType(int newActionType)
public int getActionType()
public java.lang.String toString()