Class GetAcceptedTermsOfServiceDocumentResponse


  • public class GetAcceptedTermsOfServiceDocumentResponse
    extends Object
    GetAcceptedTermsOfServiceDocumentResponse
    • Constructor Detail

      • GetAcceptedTermsOfServiceDocumentResponse

        public GetAcceptedTermsOfServiceDocumentResponse()
    • Method Detail

      • document

        public GetAcceptedTermsOfServiceDocumentResponse document​(byte[] document)
        The accepted Terms of Service document in the requested format represented as a Base64-encoded bytes array.
        Parameters:
        document -
        Returns:
        the current GetAcceptedTermsOfServiceDocumentResponse instance, allowing for method chaining
      • getDocument

        public byte[] getDocument()
        The accepted Terms of Service document in the requested format represented as a Base64-encoded bytes array.
        Returns:
        document
      • setDocument

        public void setDocument​(byte[] document)
        The accepted Terms of Service document in the requested format represented as a Base64-encoded bytes array.
        Parameters:
        document -
      • id

        public GetAcceptedTermsOfServiceDocumentResponse id​(String id)
        The unique identifier of the legal entity.
        Parameters:
        id -
        Returns:
        the current GetAcceptedTermsOfServiceDocumentResponse instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the legal entity.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the legal entity.
        Parameters:
        id -
      • termsOfServiceAcceptanceReference

        public GetAcceptedTermsOfServiceDocumentResponse termsOfServiceAcceptanceReference​(String termsOfServiceAcceptanceReference)
        An Adyen-generated reference for the accepted Terms of Service.
        Parameters:
        termsOfServiceAcceptanceReference -
        Returns:
        the current GetAcceptedTermsOfServiceDocumentResponse instance, allowing for method chaining
      • getTermsOfServiceAcceptanceReference

        public String getTermsOfServiceAcceptanceReference()
        An Adyen-generated reference for the accepted Terms of Service.
        Returns:
        termsOfServiceAcceptanceReference
      • setTermsOfServiceAcceptanceReference

        public void setTermsOfServiceAcceptanceReference​(String termsOfServiceAcceptanceReference)
        An Adyen-generated reference for the accepted Terms of Service.
        Parameters:
        termsOfServiceAcceptanceReference -
      • equals

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

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

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

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