Class ResultDetails


  • public class ResultDetails
    extends Object
    ResultDetails
    • Constructor Detail

      • ResultDetails

        public ResultDetails()
    • Method Detail

      • reason

        public ResultDetails reason​(String reason)
        The reason why the execution was not successful.
        Parameters:
        reason - The reason why the execution was not successful.
        Returns:
        the current ResultDetails instance, allowing for method chaining
      • getReason

        public String getReason()
        The reason why the execution was not successful.
        Returns:
        reason The reason why the execution was not successful.
      • setReason

        public void setReason​(String reason)
        The reason why the execution was not successful.
        Parameters:
        reason - The reason why the execution was not successful.
      • reasonCode

        public ResultDetails reasonCode​(String reasonCode)
        The numeric code of the reason.
        Parameters:
        reasonCode - The numeric code of the reason.
        Returns:
        the current ResultDetails instance, allowing for method chaining
      • getReasonCode

        public String getReasonCode()
        The numeric code of the reason.
        Returns:
        reasonCode The numeric code of the reason.
      • setReasonCode

        public void setReasonCode​(String reasonCode)
        The numeric code of the reason.
        Parameters:
        reasonCode - The numeric code of the reason.
      • transferId

        public ResultDetails transferId​(String transferId)
        The unique identifier of the transfer created for this execution.
        Parameters:
        transferId - The unique identifier of the transfer created for this execution.
        Returns:
        the current ResultDetails instance, allowing for method chaining
      • getTransferId

        public String getTransferId()
        The unique identifier of the transfer created for this execution.
        Returns:
        transferId The unique identifier of the transfer created for this execution.
      • setTransferId

        public void setTransferId​(String transferId)
        The unique identifier of the transfer created for this execution.
        Parameters:
        transferId - The unique identifier of the transfer created for this execution.
      • equals

        public boolean equals​(Object o)
        Return true if this resultDetails object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static ResultDetails fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ResultDetails given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ResultDetails
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ResultDetails
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ResultDetails to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException