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 - The unique identifier of the user that accepted the Terms of Service.
        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 The unique identifier of the user that accepted the Terms of Service.
      • setAcceptedBy

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

        public TermsOfServiceAcceptanceInfo acceptedFor​(String acceptedFor)
        The unique identifier of the legal entity for which the Terms of Service are accepted.
        Parameters:
        acceptedFor - The unique identifier of the legal entity for which the Terms of Service are accepted.
        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 The unique identifier of the legal entity for which the Terms of Service are accepted.
      • setAcceptedFor

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

        public TermsOfServiceAcceptanceInfo createdAt​(OffsetDateTime createdAt)
        The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
        Parameters:
        createdAt - The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
        Returns:
        createdAt The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
        The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
        Parameters:
        createdAt - The date when the Terms of Service were accepted, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00.
      • id

        public TermsOfServiceAcceptanceInfo id​(String id)
        An Adyen-generated reference for the accepted Terms of Service.
        Parameters:
        id - An Adyen-generated reference for the accepted Terms of Service.
        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 An Adyen-generated reference for the accepted Terms of Service.
      • setId

        public void setId​(String id)
        An Adyen-generated reference for the accepted Terms of Service.
        Parameters:
        id - An Adyen-generated reference for the accepted Terms of Service.
      • 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 - The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
        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 The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
      • 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 - The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
      • validTo

        public TermsOfServiceAcceptanceInfo validTo​(OffsetDateTime validTo)
        The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
        Parameters:
        validTo - The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
        Returns:
        the current TermsOfServiceAcceptanceInfo instance, allowing for method chaining
      • getValidTo

        public OffsetDateTime getValidTo()
        The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
        Returns:
        validTo The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
      • setValidTo

        public void setValidTo​(OffsetDateTime validTo)
        The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
        Parameters:
        validTo - The expiration date for the Terms of Service acceptance, in ISO 8601 extended format. For example, 2022-12-18T00:00:00+01:00.
      • 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