Class CreditAccountCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, CreditAccountCmd,,,,,,

    public class CreditAccountCmdImpl
    extends TaskCommandImpl
    implements CreditAccountCmd
    This CreditAccountCmdImpl Task Command implementation class is called to credit the customer account through an external accounting system.

    This implementation class is empty. It is intended for third-parties to extend and write implementation code for integration with an external accounting system.

    See Also:
    Serialized Form
    • Constructor Detail

      • CreditAccountCmdImpl

        public CreditAccountCmdImpl()
    • Method Detail

      • reset

        public void reset()
        Resets the instance variables of the command. The reset() method will reset all instance variables. If the command includes any output values that are accessible via getters. Then make sure those values are no longer needed before calling this method to reset the instance variables of the command.

        This is useful if the command instance is to be called multiple times with different command parameters.

        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setErrorViewName

        public void setErrorViewName(java.lang.String sEVN)
        Sets the error view to be used to report error. This overrides the default error view of the command.
        Specified by:
        setErrorViewName in interface CreditAccountCmd
        sEVN - the Error View name
        See Also:
      • setOrder

        public void setOrder(OrderAccessBean ab)
        Sets the order associated with the Return Merchandise Authorization.
        Specified by:
        setOrder in interface CreditAccountCmd
        ab - the OrderAccessBean of the order
      • setRefundAmount

        public void setRefundAmount(java.math.BigDecimal refundAmount)
        Sets the refund amount in the currency specified in the Return Merchandise Authorization.
        Specified by:
        setRefundAmount in interface CreditAccountCmd
        refundAmount - the amount to be refunded
      • setRMA

        public void setRMA(RMAAccessBean ab)
        Sets the Return Merchandise Authorization record that authorizes the return of the merchandise.
        Specified by:
        setRMA in interface CreditAccountCmd
        ab - the RMAAccessBean representing the Return Merchandise Authorization record