public class CreateReturnChargeTCCmdImpl extends TaskCommandImpl implements CreateReturnChargeTCCmd
Behaviour
Exception conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
java.lang.String | returnApprovalPolicyName
return approval policy name.
|
java.lang.String | returnApprovalPolicyType
return approval policy type.
|
java.lang.String | returnApprovalStoreEntity
return approval store entity.
|
java.lang.String | returnChargePolicyName
return charge policy name.
|
java.lang.String | returnChargePolicyType
return charge policy type.
|
java.lang.String | returnChargeStoreEntity
return charge store entity.
|
java.lang.Long | tradingId
Trading ID.
|
Constructor and Description |
---|
CreateReturnChargeTCCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getReturnApprovalPolicyName()
Retrieves the ReturnApproval policy name.
|
java.lang.String | getReturnApprovalPolicyType()
Retrieves the ReturnApproval policy type.
|
java.lang.String | getReturnApprovalStoreEntity()
Retrieves the store or storegroup ID for the ReturnApproval policy.
|
java.lang.String | getReturnChargePolicyName()
Retrieves the ReturnCharge policy name.
|
java.lang.String | getReturnChargePolicyType()
Retrieves the ReturnCharge policy type.
|
java.lang.String | getReturnChargeStoreEntity()
Retrieves the store or storegroup ID for the ReturnCharge policy.
|
java.lang.Long | getTradingId()
Retrieves the trading agreement ID.
|
void | performExecute()
Creates the ReturnCharge TC.
|
void | reset()
Reset the command.
|
void | setReturnApprovalPolicyName(java.lang.String newReturnApprovalPolicyName)
Stores the incoming value for the ReturnApproval policy name.
|
void | setReturnApprovalPolicyType(java.lang.String newReturnApprovalPolicyType)
Stores the incoming value for the ReturnApproval policy type.
|
void | setReturnApprovalStoreEntity(java.lang.String newReturnApprovalStoreEntity)
Stores the store entity for which the ReturnApproval policy has been specified.
|
void | setReturnChargePolicyName(java.lang.String newReturnChargePolicyName)
Stores the incoming value for the ReturnCharge policy name.
|
void | setReturnChargePolicyType(java.lang.String newReturnChargePolicyType)
Stores the incoming value for the ReturnCharge policy type.
|
void | setReturnChargeStoreEntity(java.lang.String newReturnChargeStoreEntity)
Stores the store entity for which the ReturnCharge policy has been specified.
|
void | setTradingId(java.lang.Long newTradingId)
Stores the trading agreement ID.
|
void | validateParameters()
This method does the following:
Verifies that a trading agreement ID has been provided. Verifies that a ReturnCharge policy name has been provided. Verifies that a ReturnCharge policy type has been provided. Verifies that a store entity ID has been provided for the ReturnCharge policy. Verifies that a ReturnApproval policy name has been provided. Verifies that a ReturnApproval policy type has been provided. Verifies that a store entity ID has been provided for the ReturnApproval policy. |
public static final java.lang.String COPYRIGHT
public java.lang.Long tradingId
public java.lang.String returnApprovalPolicyName
public java.lang.String returnApprovalPolicyType
public java.lang.String returnApprovalStoreEntity
public java.lang.String returnChargePolicyName
public java.lang.String returnChargePolicyType
public java.lang.String returnChargeStoreEntity
public CreateReturnChargeTCCmdImpl()
public void reset()
public java.lang.String getReturnApprovalPolicyName()
public java.lang.String getReturnApprovalPolicyType()
public java.lang.String getReturnApprovalStoreEntity()
public java.lang.String getReturnChargePolicyName()
public java.lang.String getReturnChargePolicyType()
public java.lang.String getReturnChargeStoreEntity()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
public void setReturnApprovalPolicyName(java.lang.String newReturnApprovalPolicyName)
public void setReturnApprovalPolicyType(java.lang.String newReturnApprovalPolicyType)
public void setReturnApprovalStoreEntity(java.lang.String newReturnApprovalStoreEntity)
public void setReturnChargePolicyName(java.lang.String newReturnChargePolicyName)
public void setReturnChargePolicyType(java.lang.String newReturnChargePolicyType)
public void setReturnChargeStoreEntity(java.lang.String newReturnChargeStoreEntity)
public void setTradingId(java.lang.Long newTradingId)
public void validateParameters() throws ECException