Class AcceptTermsOfServiceResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.AcceptTermsOfServiceResponse
-
public class AcceptTermsOfServiceResponse extends Object
AcceptTermsOfServiceResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAcceptTermsOfServiceResponse.TypeEnumThe type of Terms of Service.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCEPTED_BYstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_IP_ADDRESSstatic StringJSON_PROPERTY_LANGUAGEstatic StringJSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AcceptTermsOfServiceResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptTermsOfServiceResponseacceptedBy(String acceptedBy)The unique identifier of the user that accepted the Terms of Service.booleanequals(Object o)Return true if this AcceptTermsOfServiceResponse object is equal to o.static AcceptTermsOfServiceResponsefromJson(String jsonString)Create an instance of AcceptTermsOfServiceResponse given an JSON stringStringgetAcceptedBy()The unique identifier of the user that accepted the Terms of Service.StringgetId()The unique identifier of the Terms of Service acceptance.StringgetIpAddress()The IP address of the user that accepted the Terms of Service.StringgetLanguage()The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code.StringgetTermsOfServiceDocumentId()The unique identifier of the Terms of Service document.AcceptTermsOfServiceResponse.TypeEnumgetType()The type of Terms of Service.inthashCode()AcceptTermsOfServiceResponseid(String id)The unique identifier of the Terms of Service acceptance.AcceptTermsOfServiceResponseipAddress(String ipAddress)The IP address of the user that accepted the Terms of Service.AcceptTermsOfServiceResponselanguage(String language)The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code.voidsetAcceptedBy(String acceptedBy)The unique identifier of the user that accepted the Terms of Service.voidsetId(String id)The unique identifier of the Terms of Service acceptance.voidsetIpAddress(String ipAddress)The IP address of the user that accepted the Terms of Service.voidsetLanguage(String language)The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code.voidsetTermsOfServiceDocumentId(String termsOfServiceDocumentId)The unique identifier of the Terms of Service document.voidsetType(AcceptTermsOfServiceResponse.TypeEnum type)The type of Terms of Service.AcceptTermsOfServiceResponsetermsOfServiceDocumentId(String termsOfServiceDocumentId)The unique identifier of the Terms of Service document.StringtoJson()Convert an instance of AcceptTermsOfServiceResponse to an JSON stringStringtoString()AcceptTermsOfServiceResponsetype(AcceptTermsOfServiceResponse.TypeEnum type)The type of Terms of Service.
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEPTED_BY
public static final String JSON_PROPERTY_ACCEPTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_ADDRESS
public static final String JSON_PROPERTY_IP_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_ID
public static final String JSON_PROPERTY_TERMS_OF_SERVICE_DOCUMENT_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 AcceptTermsOfServiceResponse acceptedBy(String acceptedBy)
The unique identifier of the user that accepted the Terms of Service.- Parameters:
acceptedBy-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, 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-
-
id
public AcceptTermsOfServiceResponse id(String id)
The unique identifier of the Terms of Service acceptance.- Parameters:
id-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the Terms of Service acceptance.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the Terms of Service acceptance.- Parameters:
id-
-
ipAddress
public AcceptTermsOfServiceResponse ipAddress(String ipAddress)
The IP address of the user that accepted the Terms of Service.- Parameters:
ipAddress-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, allowing for method chaining
-
getIpAddress
public String getIpAddress()
The IP address of the user that accepted the Terms of Service.- Returns:
- ipAddress
-
setIpAddress
public void setIpAddress(String ipAddress)
The IP address of the user that accepted the Terms of Service.- Parameters:
ipAddress-
-
language
public AcceptTermsOfServiceResponse language(String language)
The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.- Parameters:
language-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, allowing for method chaining
-
getLanguage
public String getLanguage()
The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.- Parameters:
language-
-
termsOfServiceDocumentId
public AcceptTermsOfServiceResponse termsOfServiceDocumentId(String termsOfServiceDocumentId)
The unique identifier of the Terms of Service document.- Parameters:
termsOfServiceDocumentId-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, allowing for method chaining
-
getTermsOfServiceDocumentId
public String getTermsOfServiceDocumentId()
The unique identifier of the Terms of Service document.- Returns:
- termsOfServiceDocumentId
-
setTermsOfServiceDocumentId
public void setTermsOfServiceDocumentId(String termsOfServiceDocumentId)
The unique identifier of the Terms of Service document.- Parameters:
termsOfServiceDocumentId-
-
type
public AcceptTermsOfServiceResponse type(AcceptTermsOfServiceResponse.TypeEnum type)
The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**- Parameters:
type-- Returns:
- the current
AcceptTermsOfServiceResponseinstance, allowing for method chaining
-
getType
public AcceptTermsOfServiceResponse.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(AcceptTermsOfServiceResponse.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 AcceptTermsOfServiceResponse object is equal to o.
-
fromJson
public static AcceptTermsOfServiceResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AcceptTermsOfServiceResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcceptTermsOfServiceResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AcceptTermsOfServiceResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AcceptTermsOfServiceResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-