Class TransferServiceRestServiceError


  • public class TransferServiceRestServiceError
    extends Object
    TransferServiceRestServiceError
    • Constructor Detail

      • TransferServiceRestServiceError

        public TransferServiceRestServiceError()
    • Method Detail

      • getDetail

        public String getDetail()
        A human-readable explanation specific to this occurrence of the problem.
        Returns:
        detail
      • setDetail

        public void setDetail​(String detail)
        A human-readable explanation specific to this occurrence of the problem.
        Parameters:
        detail -
      • getErrorCode

        public String getErrorCode()
        A code that identifies the problem type.
        Returns:
        errorCode
      • setErrorCode

        public void setErrorCode​(String errorCode)
        A code that identifies the problem type.
        Parameters:
        errorCode -
      • getInstance

        public String getInstance()
        A unique URI that identifies the specific occurrence of the problem.
        Returns:
        instance
      • setInstance

        public void setInstance​(String instance)
        A unique URI that identifies the specific occurrence of the problem.
        Parameters:
        instance -
      • getInvalidFields

        public List<InvalidField> getInvalidFields()
        Detailed explanation of each validation error, when applicable.
        Returns:
        invalidFields
      • setInvalidFields

        public void setInvalidFields​(List<InvalidField> invalidFields)
        Detailed explanation of each validation error, when applicable.
        Parameters:
        invalidFields -
      • getRequestId

        public String getRequestId()
        A unique reference for the request, essentially the same as `pspReference`.
        Returns:
        requestId
      • setRequestId

        public void setRequestId​(String requestId)
        A unique reference for the request, essentially the same as `pspReference`.
        Parameters:
        requestId -
      • getResponse

        public Object getResponse()
        Get response
        Returns:
        response
      • setResponse

        public void setResponse​(Object response)
        response
        Parameters:
        response -
      • getRoutingDetails

        public List<RoutingDetails> getRoutingDetails()
        Detailed explanation of each attempt to route the transfer with the priorities from the request.
        Returns:
        routingDetails
      • setRoutingDetails

        public void setRoutingDetails​(List<RoutingDetails> routingDetails)
        Detailed explanation of each attempt to route the transfer with the priorities from the request.
        Parameters:
        routingDetails -
      • getStatus

        public Integer getStatus()
        The HTTP status code.
        Returns:
        status
      • setStatus

        public void setStatus​(Integer status)
        The HTTP status code.
        Parameters:
        status -
      • getTitle

        public String getTitle()
        A short, human-readable summary of the problem type.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
        A short, human-readable summary of the problem type.
        Parameters:
        title -
      • getType

        public String getType()
        A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
        Returns:
        type
      • setType

        public void setType​(String type)
        A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
        Parameters:
        type -
      • equals

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

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

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

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