com.ibm.commerce.payment.rules

Class EDPEditResults

  • java.lang.Object
    • com.ibm.commerce.payment.rules.EDPEditResults
  • All Implemented Interfaces:
    java.io.Serializable


    public class EDPEditResults
    extends java.lang.Object
    implements java.io.Serializable
    This method represents the results of Payment Rules edit operation.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int FAILURE
      Same as above, but enumerated
      static int PENDING
      Same as above, but enumerated
      static java.lang.String STATUS_FAILURE
      Request has failed.
      static java.lang.String STATUS_PENDING
      Request has finalized but at least one payment action returned a pending status.
      static java.lang.String STATUS_SUCCESS
      Request has been successfully completed.
      static java.lang.String STATUS_TIMEOUT
      Request has finalized with a timeout.
      static java.lang.String STATUS_UNKNOWN
      Request has been successfully completed.
      static int SUCCESS
      Same as above, but enumerated
      static int TIMEOUT
      Same as above, but enumerated
      static int UNKNOWN
      Same as above, but enumerated
    • Constructor Summary

      Constructors 
      Constructor and Description
      EDPEditResults() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      EDPResults getEdpResults()
      This method returns the results of Payment Rules edit operation.
      int getOverallStatus() 
      java.util.ArrayList getPIChangesList()
      This method returns the list of payment instruction changes.
      java.util.Map getPiFailuresMap()
      This method returns the Map of Payment Instruction edit failure.
      void setEdpResults(EDPResults results)
      This method sets the results of Payment Rules edit operation.
      void setOverallStatus(int overallStatus) 
      void setPIChangesList(java.util.ArrayList list)
      This method sets the list of payment instruction changes.
      java.lang.String toString()
      This method returns a readable form of the EDPEditResults object.
      • Methods inherited from class java.lang.Object

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

      • STATUS_UNKNOWN

        public static final java.lang.String STATUS_UNKNOWN
        Request has been successfully completed. All payment actions (if any) have succeeded.
        See Also:
        Constant Field Values
      • STATUS_SUCCESS

        public static final java.lang.String STATUS_SUCCESS
        Request has been successfully completed. All payment actions (if any) have succeeded.
        See Also:
        Constant Field Values
      • STATUS_PENDING

        public static final java.lang.String STATUS_PENDING
        Request has finalized but at least one payment action returned a pending status.
        See Also:
        Constant Field Values
      • STATUS_TIMEOUT

        public static final java.lang.String STATUS_TIMEOUT
        Request has finalized with a timeout. No payment actions failed. Some payment actions might have finished successfully.
        See Also:
        Constant Field Values
      • STATUS_FAILURE

        public static final java.lang.String STATUS_FAILURE
        Request has failed. At least one payment action has failed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EDPEditResults

        public EDPEditResults()
    • Method Detail

      • getPIChangesList

        public java.util.ArrayList getPIChangesList()
        This method returns the list of payment instruction changes.
        Returns:
        The list of payment instruction changes
      • setPIChangesList

        public void setPIChangesList(java.util.ArrayList list)
        This method sets the list of payment instruction changes.
        Parameters:
        list - The list of payment instruction changes
      • getEdpResults

        public EDPResults getEdpResults()
        This method returns the results of Payment Rules edit operation.
        Returns:
        EDPResults The results of Payment Rules edit operation
      • setEdpResults

        public void setEdpResults(EDPResults results)
        This method sets the results of Payment Rules edit operation.
        Parameters:
        results - The results of Payment Rules operation
      • setOverallStatus

        public void setOverallStatus(int overallStatus)
        Parameters:
        overallStatus - The overall status of Payment Rules operation
        See Also:
        EDPResults.setOverallStatus(int)
      • getOverallStatus

        public int getOverallStatus()
        Returns:
        int The overall status of Payment Rules operation
        See Also:
        EDPResults.getOverallStatus()
      • getPiFailuresMap

        public java.util.Map getPiFailuresMap()
        This method returns the Map of Payment Instruction edit failure.
        Returns:
        Map, key is payment instruction identifier as String, value is type of BaseException
      • toString

        public java.lang.String toString()

        This method returns a readable form of the EDPEditResults object.

        Warning: not localized, for debugging purposes only!
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string format of the EDPStatus object.