Class ModifyResponse


  • public class ModifyResponse
    extends Object
    ModifyResponse
    • Constructor Detail

      • ModifyResponse

        public ModifyResponse()
    • Method Detail

      • additionalData

        public ModifyResponse additionalData​(Map<String,​String> additionalData)
        This field contains additional data, which may be returned in a particular response.
        Parameters:
        additionalData -
        Returns:
        the current ModifyResponse instance, allowing for method chaining
      • 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 -
      • pspReference

        public ModifyResponse pspReference​(String pspReference)
        Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
        Parameters:
        pspReference -
        Returns:
        the current ModifyResponse instance, allowing for method chaining
      • getPspReference

        public String getPspReference()
        Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
        Parameters:
        pspReference -
      • response

        public ModifyResponse response​(String response)
        The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.
        Parameters:
        response -
        Returns:
        the current ModifyResponse instance, allowing for method chaining
      • getResponse

        public String getResponse()
        The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.
        Returns:
        response
      • setResponse

        public void setResponse​(String response)
        The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.
        Parameters:
        response -
      • equals

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

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

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

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