Class AcceptTermsOfServiceRequest
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.AcceptTermsOfServiceRequest
-
public class AcceptTermsOfServiceRequest extends Object
AcceptTermsOfServiceRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAcceptTermsOfServiceRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCEPTED_BYstatic StringSERIALIZED_NAME_IP_ADDRESS
-
Constructor Summary
Constructors Constructor Description AcceptTermsOfServiceRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptTermsOfServiceRequestacceptedBy(String acceptedBy)booleanequals(Object o)static AcceptTermsOfServiceRequestfromJson(String jsonString)Create an instance of AcceptTermsOfServiceRequest given an JSON stringStringgetAcceptedBy()The unique identifier of the user accepting the Terms of Service.StringgetIpAddress()The IP address of the user accepting the Terms of Service.inthashCode()AcceptTermsOfServiceRequestipAddress(String ipAddress)voidsetAcceptedBy(String acceptedBy)voidsetIpAddress(String ipAddress)StringtoJson()Convert an instance of AcceptTermsOfServiceRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCEPTED_BY
public static final String SERIALIZED_NAME_ACCEPTED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IP_ADDRESS
public static final String SERIALIZED_NAME_IP_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptedBy
public AcceptTermsOfServiceRequest acceptedBy(String acceptedBy)
-
getAcceptedBy
public String getAcceptedBy()
The unique identifier of the user accepting the Terms of Service.- Returns:
- acceptedBy
-
setAcceptedBy
public void setAcceptedBy(String acceptedBy)
-
ipAddress
public AcceptTermsOfServiceRequest ipAddress(String ipAddress)
-
getIpAddress
public String getIpAddress()
The IP address of the user accepting the Terms of Service.- Returns:
- ipAddress
-
setIpAddress
public void setIpAddress(String ipAddress)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to AcceptTermsOfServiceRequest
-
fromJson
public static AcceptTermsOfServiceRequest fromJson(String jsonString) throws IOException
Create an instance of AcceptTermsOfServiceRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcceptTermsOfServiceRequest
- Throws:
IOException- if the JSON string is invalid with respect to AcceptTermsOfServiceRequest
-
toJson
public String toJson()
Convert an instance of AcceptTermsOfServiceRequest to an JSON string- Returns:
- JSON string
-
-