Class SubmitResponse


  • public class SubmitResponse
    extends Object
    SubmitResponse
    • Constructor Detail

      • SubmitResponse

        public SubmitResponse()
    • Method Detail

      • getAdditionalData

        public Map<String,​String> getAdditionalData()
        This field contains additional data, which may be returned in a particular response.
        Returns:
        additionalData
      • setAdditionalData

        public void setAdditionalData​(Map<String,​String> additionalData)
        This field contains additional data, which may be returned in a particular response.
        Parameters:
        additionalData -
      • getPspReference

        public String getPspReference()
        A new reference to uniquely identify this request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        A new reference to uniquely identify this request.
        Parameters:
        pspReference -
      • getRefusalReason

        public String getRefusalReason()
        In case of refusal, an informational message for the reason.
        Returns:
        refusalReason
      • setRefusalReason

        public void setRefusalReason​(String refusalReason)
        In case of refusal, an informational message for the reason.
        Parameters:
        refusalReason -
      • getResultCode

        public String getResultCode()
        The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned.
        Returns:
        resultCode
      • setResultCode

        public void setResultCode​(String resultCode)
        The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned.
        Parameters:
        resultCode -
      • equals

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

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

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

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