com.ibm.commerce.payment.actions

Class ActionResults

  • java.lang.Object
    • com.ibm.commerce.payment.actions.ActionResults
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PaymentActionResults, RefundActionResults


    public class ActionResults
    extends java.lang.Object
    implements java.io.Serializable
    This is the class for all action results objects.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ActionResults() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ActionData getActionData()
      This method returns the ActionData object of the action this action result belongs to.
      java.lang.String getActionName()
      This method gets the current action name.
      java.math.BigDecimal getAmount()
      This method returns the current amount of the action.
      int getAvsCode()
      This method gets the AVS code of current action.
      PluginException getPluginException()
      This method returns the exception coming from the plugin.
      EDPException getPPCException()
      This method returns the exception coming from the payment plug-in controller.
      int getStatus()
      This method returns the status of the action in this result.
      void setActionData(ActionData data)
      This method sets the ActionData object of the action this action result belongs to.
      void setActionName(java.lang.String actionName)
      This method sets the current action name.
      void setAmount(java.math.BigDecimal localAmount)
      This method sets the current amount of the action.
      void setAvsCode(int avsCode)
      This method sets the AVS(Address Verification Service) code of current action.
      void setPluginException(PluginException exception)
      This method sets the exception coming from the plugin.
      void setPPCException(EDPException exception)
      This method sets the exception coming from the payment plug-in controller.
      void setStatus(int localStatus)
      This method sets the status of the action in this result.
      java.lang.String toString()
      This method returns a readable form of the ActionResults object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ActionResults

        public ActionResults()
    • Method Detail

      • setActionName

        public void setActionName(java.lang.String actionName)
        This method sets the current action name.
        Parameters:
        actionName - The action name
      • getActionName

        public java.lang.String getActionName()
        This method gets the current action name.
        Returns:
        _actionName The action name
      • setAmount

        public void setAmount(java.math.BigDecimal localAmount)
        This method sets the current amount of the action.
        Parameters:
        localAmount - The amount to set
      • getAmount

        public java.math.BigDecimal getAmount()
        This method returns the current amount of the action.
        Returns:
        the amount of the action
      • setAvsCode

        public void setAvsCode(int avsCode)
        This method sets the AVS(Address Verification Service) code of current action.
        Parameters:
        avsCode - The AVS code of current action
      • getAvsCode

        public int getAvsCode()
        This method gets the AVS code of current action.
        Returns:
        _avsCode The AVS code of current action
      • setPPCException

        public void setPPCException(EDPException exception)
        This method sets the exception coming from the payment plug-in controller.
        Parameters:
        exception - The exception coming from the payment plug-in controller
      • getPPCException

        public EDPException getPPCException()
        This method returns the exception coming from the payment plug-in controller.
        Returns:
        ppcException The exception coming from the payment plug-in controller
      • setPluginException

        public void setPluginException(PluginException exception)
        This method sets the exception coming from the plugin.
        Parameters:
        exception - The exception coming from the plugin
      • getPluginException

        public PluginException getPluginException()
        This method returns the exception coming from the plugin.
        Returns:
        pluginException The exception coming from the plugin
      • setStatus

        public void setStatus(int localStatus)
        This method sets the status of the action in this result.
        Parameters:
        localStatus - The status to set
      • getStatus

        public int getStatus()
        This method returns the status of the action in this result.
        Returns:
        status The status of the action in this result
      • toString

        public java.lang.String toString()

        This method returns a readable form of the ActionResults object.

        Warning: not localized, for debugging purposes only!

        Overrides:
        toString in class java.lang.Object
        Returns:
        The string format of the ActionResults object.
      • getActionData

        public ActionData getActionData()
        This method returns the ActionData object of the action this action result belongs to.
        Returns:
        The action data of the action
      • setActionData

        public void setActionData(ActionData data)
        This method sets the ActionData object of the action this action result belongs to.
        Parameters:
        data - The action data of the action