Creates terms and conditions of type "ReturnCharge".
A return charge TC, as defined by the Trading DTD, reference one ReturnCharge policy and one ReturnApproval policy. This command accepts details of these two policies as input. It then creates an XML element for a Return Charge TC that conforms to the Trading DTD. It uses this XML element and the incoming trading agreement ID to create the TC.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
static java.lang.String | defaultCommandClassName The default implementation of this command. |
static java.lang.String | NAME The name of this command. |
Method Summary | |
void | setReturnApprovalPolicyName(java.lang.String newPolicyName) Stores the incoming value for the ReturnApproval policy name. |
void | setReturnApprovalPolicyType(java.lang.String newPolicyType) Stores the incoming value for the ReturnApproval policy type. |
void | setReturnApprovalStoreEntity(java.lang.String newStoreEntity) Stores the store entity for which the ReturnApproval policy has been specified. |
void | setReturnChargePolicyName(java.lang.String newPolicyName) Stores the incoming value for the ReturnCharge policy name. |
void | setReturnChargePolicyType(java.lang.String newPolicyType) Stores the incoming value for the ReturnCharge policy type. |
void | setReturnChargeStoreEntity(java.lang.String newStoreEntity) Stores the store entity for which the ReturnCharge policy has been specified. |
void | setTradingId(java.lang.Long newTradingId) Stores the trading agreement ID. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public void setReturnApprovalPolicyName(java.lang.String newPolicyName)
public void setReturnApprovalPolicyType(java.lang.String newPolicyType)
public void setReturnApprovalStoreEntity(java.lang.String newStoreEntity)
public void setReturnChargePolicyName(java.lang.String newPolicyName)
public void setReturnChargePolicyType(java.lang.String newPolicyType)
public void setReturnChargeStoreEntity(java.lang.String newStoreEntity)
public void setTradingId(java.lang.Long newTradingId)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.