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_TYPE
-
Constructor Summary
Constructors Constructor Description TermsOfServiceAcceptanceInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TermsOfServiceAcceptanceInfoacceptedBy(String acceptedBy)TermsOfServiceAcceptanceInfoacceptedFor(String acceptedFor)TermsOfServiceAcceptanceInfocreatedAt(OffsetDateTime createdAt)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.StringgetId()An Adyen-generated reference for the accepted Terms of Service.TermsOfServiceAcceptanceInfo.TypeEnumgetType()The type of Terms of Service.inthashCode()TermsOfServiceAcceptanceInfoid(String id)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.voidsetId(String id)An Adyen-generated reference for the accepted Terms of Service.voidsetType(TermsOfServiceAcceptanceInfo.TypeEnum type)The type of Terms of Service.StringtoJson()Convert an instance of TermsOfServiceAcceptanceInfo to an JSON stringStringtoString()TermsOfServiceAcceptanceInfotype(TermsOfServiceAcceptanceInfo.TypeEnum type)
-
-
-
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
-
-
Method Detail
-
acceptedBy
public TermsOfServiceAcceptanceInfo acceptedBy(String acceptedBy)
-
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)
-
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)
-
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)
-
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)
-
getType
public TermsOfServiceAcceptanceInfo.TypeEnum getType()
The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr**- 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**- Parameters:
type-
-
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
-
-