public class EDPResults
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | STATUS_FAILURE
Request has failed.
|
static int | STATUS_FAILURE_INT
Request has failed.
|
static java.lang.String | STATUS_PENDING
Request has finalized but at least one payment action returned a pending status.
|
static int | STATUS_PENDING_INT
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 int | STATUS_SUCCESS_INT
Request has been successfully completed.
|
static java.lang.String | STATUS_TIMEOUT
Request has finalized with a timeout.
|
static int | STATUS_TIMEOUT_INT
Request has finalized with a timeout.
|
static java.lang.String | STATUS_UNKNOWN
Initial status.
|
static int | STATUS_UNKNOWN_INT
Initial status Integer representation.
|
Constructor and Description |
---|
EDPResults(int localOverallStatus, java.util.Map localActionResults)
This method creates a new EDPResults object.
|
EDPResults(int localOverallStatus, java.util.Map localActionResults, java.util.Map localPiFailures)
This method creates a new EDPResults object.
|
Modifier and Type | Method and Description |
---|---|
void | addActionResults(java.lang.String name, ActionResults results)
This method adds the results from a new action to the operation results.
|
void | addPiFailure(java.lang.String failId, BaseException piException)
This method adds results from a new action to the operation results.
|
ActionResults | getActionResults(java.lang.String name)
This method returns the results of payment/refund action.
|
java.util.Map | getActionResultsMap()
This method returns the map of payment/refund actions and the corresponding results.
|
EDPException | getEdpException()
This method returns a Payment Rules exception, if any, that occurred during the processing of the Payment Rules operation.
|
java.util.Map | getFailedActionResults()
This method returns the list of actions that failed in the Payment Rules operation.
|
int | getOverallStatus()
This method returns the overallStatus .
|
java.lang.String | getOverallStatusAsString()
This method returns the overall status in a readable format.
|
BaseException | getPiFailure(java.lang.String piId)
This method returns the exception of payment instruction failure.
|
java.util.Map | getPiFailuresMap()
This method returns the map of payment instruction and failure results.
|
int | getProcessStatus()
This method returns the process status of the Payment Rules operation.
|
java.lang.String | getProcessStatusAsString()
This method returns the process status as a human-readable string.
|
boolean | isAttentionRequired()
This method sets if the human attention required.
|
void | setAttentionRequired(boolean b)
This method sets if the human attention required.
|
void | setEdpException(EDPException exception)
This method sets a Payment Rules exception, if any, that occurred during the processing of the Payment Rules operation.
|
void | setOverallStatus(int status)
This method sets the overallStatus .
|
void | setProcessStatus(int i)
This method sets the process status.
|
java.lang.String | toString()
This method returns a readable form of the EDPResults object.
|
public static final java.lang.String STATUS_UNKNOWN
public static final int STATUS_UNKNOWN_INT
public static final java.lang.String STATUS_SUCCESS
public static final int STATUS_SUCCESS_INT
public static final java.lang.String STATUS_PENDING
public static final int STATUS_PENDING_INT
public static final java.lang.String STATUS_FAILURE
public static final int STATUS_FAILURE_INT
public static final java.lang.String STATUS_TIMEOUT
public static final int STATUS_TIMEOUT_INT
public EDPResults(int localOverallStatus, java.util.Map localActionResults)
public EDPResults(int localOverallStatus, java.util.Map localActionResults, java.util.Map localPiFailures)
public final void setEdpException(EDPException exception)
public final EDPException getEdpException()
public ActionResults getActionResults(java.lang.String name)
public java.util.Map getActionResultsMap()
public void setAttentionRequired(boolean b)
public boolean isAttentionRequired()
public java.util.Map getFailedActionResults()
public void setOverallStatus(int status)
public int getOverallStatus()
public java.lang.String getOverallStatusAsString()
public BaseException getPiFailure(java.lang.String piId)
public java.util.Map getPiFailuresMap()
public void setProcessStatus(int i)
public int getProcessStatus()
public java.lang.String getProcessStatusAsString()
public void addActionResults(java.lang.String name, ActionResults results)
public void addPiFailure(java.lang.String failId, BaseException piException)
public java.lang.String toString()
This method returns a readable form of the EDPResults object.
Warning: not localized, for debugging purposes only!