com.ibm.commerce.edp.parsers.paymentactions

Class CurrentApproved

  • java.lang.Object
    • com.ibm.commerce.edp.parsers.paymentactions.CurrentApproved


  • public class CurrentApproved
    extends java.lang.Object
    This class represents the complex type CurrentApproved, which means the current payment state is approved.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CurrentApproved() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Action getAction(int index)
      This method returns the action that needs to do when current payment state is approved at the specified index.
      int getActionCount()
      This method returns the count of the actions need to de when current payment state is approved.
      AmountEqualsRequested getAmountEqualsRequested()
      This method returns the AmountEqualsRequested object, which corresponds to the scenario where the amount to process is equals to the requested amount.
      AmountGreaterThanRequested getAmountGreaterThanRequested()
      This method returns the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is greater than the requested amount.
      AmountLessThanRequested getAmountLessThanRequested()
      This method returns the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is less than the requested amount.
      void setAction(int index, Action Action)
      This method sets the action that needs to do when current payment state is approved at the specified index.
      void setAmountEqualsRequested(AmountEqualsRequested requested)
      This method sets the AmountEqualsRequested object, which corresponds to the scenario where the amount to process is equals to the requested amount.
      void setAmountGreaterThanRequested(AmountGreaterThanRequested requested)
      This method sets the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is greater than the requested amount.
      void setAmountLessThanRequested(AmountLessThanRequested requested)
      This method sets the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is less than the requested amount.
      java.lang.String toString()
      This method creates a String representation of the object.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CurrentApproved

        public CurrentApproved()
    • Method Detail

      • setAction

        public void setAction(int index,
                              Action Action)
        This method sets the action that needs to do when current payment state is approved at the specified index.
        Parameters:
        index - The current position
        Action - The action that needs to do when current payment state is approved at the specified index
      • getAction

        public Action getAction(int index)
        This method returns the action that needs to do when current payment state is approved at the specified index.
        Parameters:
        index - The current position
        Returns:
        The action that needs to do when current payment state is approved at the specified index
      • getActionCount

        public int getActionCount()
        This method returns the count of the actions need to de when current payment state is approved.
        Returns:
        The count of the actions need to de when the amount to process is less than the requested amount
      • getAmountEqualsRequested

        public AmountEqualsRequested getAmountEqualsRequested()
        This method returns the AmountEqualsRequested object, which corresponds to the scenario where the amount to process is equals to the requested amount.
        Returns:
        The AmountEqualsRequested object
      • getAmountGreaterThanRequested

        public AmountGreaterThanRequested getAmountGreaterThanRequested()
        This method returns the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is greater than the requested amount.
        Returns:
        The AmountGreaterThanRequested object
      • getAmountLessThanRequested

        public AmountLessThanRequested getAmountLessThanRequested()
        This method returns the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is less than the requested amount.
        Returns:
        The AmountGreaterThanRequested object
      • setAmountEqualsRequested

        public void setAmountEqualsRequested(AmountEqualsRequested requested)
        This method sets the AmountEqualsRequested object, which corresponds to the scenario where the amount to process is equals to the requested amount.
        Parameters:
        requested - The AmountEqualsRequested object to set
      • setAmountGreaterThanRequested

        public void setAmountGreaterThanRequested(AmountGreaterThanRequested requested)
        This method sets the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is greater than the requested amount.
        Parameters:
        requested - The AmountGreaterThanRequested object to set
      • setAmountLessThanRequested

        public void setAmountLessThanRequested(AmountLessThanRequested requested)
        This method sets the AmountGreaterThanRequested object, which corresponds to the scenario where the amount to process is less than the requested amount.
        Parameters:
        requested - The AmountGreaterThanRequested object
      • toString

        public java.lang.String toString()

        This method creates a String representation of the object.

        Overrides:
        toString in class java.lang.Object
        Returns:
        The String representation