Creates terms and conditions of type "RefundPaymentMethod".
This command accepts a ReturnPayment policy as input. It then creates an XML element for a RefundPaymentMethod 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 |
setPolicyName(java.lang.String newPolicyName) Stores the incoming value for the policy name. |
void |
setPolicyType(java.lang.String newPolicyType) Stores the incoming value for the policy type. |
void |
setStoreEntity(java.lang.String newStoreEntity) Stores the store entity for which the 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 setPolicyName(java.lang.String newPolicyName)
newPolicyName
- The name of the policy.public void setPolicyType(java.lang.String newPolicyType)
newPolicyType
- The type of the policy.public void setStoreEntity(java.lang.String newStoreEntity)
newStoreEntity
- The Store or StoreGroup ID of the
policy.public void setTradingId(java.lang.Long newTradingId)
newTradingId
- The trading agreement ID.