Class TermsOfServiceAcceptanceInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.TermsOfServiceAcceptanceInfo
-
public class TermsOfServiceAcceptanceInfo extends Object
TermsOfServiceAcceptanceInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermsOfServiceAcceptanceInfo.TypeEnumThe type of Terms of Service.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCEPTED_BYstatic StringJSON_PROPERTY_ACCEPTED_FORstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VALID_TO
-
Constructor Summary
Constructors Constructor Description TermsOfServiceAcceptanceInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TermsOfServiceAcceptanceInfoacceptedBy(String acceptedBy)The unique identifier of the user that accepted the Terms of Service.TermsOfServiceAcceptanceInfoacceptedFor(String acceptedFor)The unique identifier of the legal entity for which the Terms of Service are accepted.TermsOfServiceAcceptanceInfocreatedAt(OffsetDateTime createdAt)The date when the Terms of Service were accepted, in ISO 8601 extended format.booleanequals(Object o)Return true if this TermsOfServiceAcceptanceInfo object is equal to o.static TermsOfServiceAcceptanceInfofromJson(String jsonString)Create an instance of TermsOfServiceAcceptanceInfo given an JSON stringStringgetAcceptedBy()The unique identifier of the user that accepted the Terms of Service.StringgetAcceptedFor()The unique identifier of the legal entity for which the Terms of Service are accepted.OffsetDateTimegetCreatedAt()The date when the Terms of Service were accepted, in ISO 8601 extended format.StringgetId()An Adyen-generated reference for the accepted Terms of Service.TermsOfServiceAcceptanceInfo.TypeEnumgetType()The type of Terms of Service.OffsetDateTimegetValidTo()The expiration date for the Terms of Service acceptance, in ISO 8601 extended format.inthashCode()TermsOfServiceAcceptanceInfoid(String id)An Adyen-generated reference for the accepted Terms of Service.voidsetAcceptedBy(String acceptedBy)The unique identifier of the user that accepted the Terms of Service.voidsetAcceptedFor(String acceptedFor)The unique identifier of the legal entity for which the Terms of Service are accepted.voidsetCreatedAt(OffsetDateTime createdAt)The date when the Terms of Service were accepted, in ISO 8601 extended format.voidsetId(String id)An Adyen-generated reference for the accepted Terms of Service.voidsetType(TermsOfServiceAcceptanceInfo.TypeEnum type)The type of Terms of Service.voidsetValidTo(OffsetDateTime validTo)The expiration date for the Terms of Service acceptance, in ISO 8601 extended format.StringtoJson()Convert an instance of TermsOfServiceAcceptanceInfo to an JSON stringStringtoString()TermsOfServiceAcceptanceInfotype(TermsOfServiceAcceptanceInfo.TypeEnum type)The type of Terms of Service.TermsOfServiceAcceptanceInfovalidTo(OffsetDateTime validTo)The expiration date for the Terms of Service acceptance, in ISO 8601 extended format.
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEPTED_BY
public static final String JSON_PROPERTY_ACCEPTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCEPTED_FOR
public static final String JSON_PROPERTY_ACCEPTED_FOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALID_TO
public static final String JSON_PROPERTY_VALID_TO
- See Also:
- Constant Field Values
-
-
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
TermsOfServiceAcceptanceInfoinstance, 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
TermsOfServiceAcceptanceInfoinstance, 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
TermsOfServiceAcceptanceInfoinstance, 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
TermsOfServiceAcceptanceInfoinstance, 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
TermsOfServiceAcceptanceInfoinstance, 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
TermsOfServiceAcceptanceInfoinstance, 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.
-
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
-
-