Class TermsOfServiceAcceptanceInfo


  • public class TermsOfServiceAcceptanceInfo
    extends Object
    TermsOfServiceAcceptanceInfo
    • Constructor Detail

      • TermsOfServiceAcceptanceInfo

        public TermsOfServiceAcceptanceInfo()
    • Method Detail

      • acceptedBy

        public TermsOfServiceAcceptanceInfo acceptedBy​(String acceptedBy)
        The unique identifier of the user that accepted the Terms of Service.
        Parameters:
        acceptedBy -
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getAcceptedBy

        public String getAcceptedBy()
        The unique identifier of the user that accepted the Terms of Service.
        Returns:
        acceptedBy
      • setAcceptedBy

        public void setAcceptedBy​(String acceptedBy)
        The unique identifier of the user that accepted the Terms of Service.
        Parameters:
        acceptedBy -
      • acceptedFor

        public TermsOfServiceAcceptanceInfo acceptedFor​(String acceptedFor)
        The unique identifier of the legal entity for which the Terms of Service are accepted.
        Parameters:
        acceptedFor -
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getAcceptedFor

        public String getAcceptedFor()
        The unique identifier of the legal entity for which the Terms of Service are accepted.
        Returns:
        acceptedFor
      • setAcceptedFor

        public void setAcceptedFor​(String acceptedFor)
        The unique identifier of the legal entity for which the Terms of Service are accepted.
        Parameters:
        acceptedFor -
      • createdAt

        public TermsOfServiceAcceptanceInfo createdAt​(OffsetDateTime createdAt)
        The date when the Terms of Service were accepted.
        Parameters:
        createdAt -
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        The date when the Terms of Service were accepted.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
        The date when the Terms of Service were accepted.
        Parameters:
        createdAt -
      • id

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

        public String getId()
        An Adyen-generated reference for the accepted Terms of Service.
        Returns:
        id
      • setId

        public void setId​(String id)
        An Adyen-generated reference for the accepted Terms of Service.
        Parameters:
        id -
      • type

        public TermsOfServiceAcceptanceInfo type​(TermsOfServiceAcceptanceInfo.TypeEnum type)
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
        Parameters:
        type -
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getType

        public TermsOfServiceAcceptanceInfo.TypeEnum getType()
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
        Returns:
        type
      • setType

        public void setType​(TermsOfServiceAcceptanceInfo.TypeEnum type)
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
        Parameters:
        type -
      • equals

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

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

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

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