com.ibm.commerce.returns.commands
Class RefundByOriginalPaymentPolicyCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.command.BusinessPolicyCommandImpl
                    |
                    +--com.ibm.commerce.returns.commands.RefundPaymentPolicyCmdImpl
                          |
                          +--com.ibm.commerce.returns.commands.RefundByOriginalPaymentPolicyCmdImpl
All Implemented Interfaces:
BusinessPolicyCommand, ECCommand, RefundPaymentPolicyCmd, TaskCommand

public class RefundByOriginalPaymentPolicyCmdImpl
extends RefundPaymentPolicyCmdImpl
implements RefundPaymentPolicyCmd

Refund using the original payment method.


Fields inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
policyId, requestProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.returns.commands.RefundPaymentPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
RefundByOriginalPaymentPolicyCmdImpl()
          RefundByOriginalPaymentPolicyCmdImpl constructor.
 
Method Summary
protected  void doWork()
          Call the method callDoRefundPolicy() with the identifier of the payment policy used for the order originally.
 
Methods inherited from class com.ibm.commerce.returns.commands.RefundPaymentPolicyCmdImpl
callDoRefundPolicy, getErrorViewName, getOrder, getPaymentPolicyId, getRefundAmount, getRMA, performExecute, reset, setErrorViewName, setOrder, setPaymentPolicyId, setRefundAmount, setRMA, validateParameters
 
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.returns.commands.RefundPaymentPolicyCmd
setErrorViewName, setOrder, setPaymentPolicyId, setRefundAmount, setRMA
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Constructor Detail

RefundByOriginalPaymentPolicyCmdImpl

public RefundByOriginalPaymentPolicyCmdImpl()
RefundByOriginalPaymentPolicyCmdImpl constructor.
Method Detail

doWork

protected void doWork()
               throws ECException
Call the method callDoRefundPolicy() with the identifier of the payment policy used for the order originally.
Overrides:
doWork in class RefundPaymentPolicyCmdImpl