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 - This field contains additional data, which may be returned in a particular response.
        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 This field contains additional data, which may be returned in a particular response.
      • setAdditionalData

        public void setAdditionalData​(Map<String,​String> additionalData)
        This field contains additional data, which may be returned in a particular response.
        Parameters:
        additionalData - This field contains additional data, which may be returned in a particular response.
      • 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 - 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:
        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 Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
      • 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 - Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
      • 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 - 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:
        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 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.
      • 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 - 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.
      • includeNullValues

        public ModifyResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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