Class AcceptTermsOfServiceRequest
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.AcceptTermsOfServiceRequest
-
public class AcceptTermsOfServiceRequest extends Object
AcceptTermsOfServiceRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCEPTED_BYstatic StringJSON_PROPERTY_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)Return true if this AcceptTermsOfServiceRequest object is equal to o.static AcceptTermsOfServiceRequestfromJson(String jsonString)Create an instance of AcceptTermsOfServiceRequest given an JSON stringStringgetAcceptedBy()The legal entity ID 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)The legal entity ID of the user accepting the Terms of Service.voidsetIpAddress(String ipAddress)The IP address of the user accepting the Terms of Service.StringtoJson()Convert an instance of AcceptTermsOfServiceRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEPTED_BY
public static final String JSON_PROPERTY_ACCEPTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_ADDRESS
public static final String JSON_PROPERTY_IP_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptedBy
public AcceptTermsOfServiceRequest acceptedBy(String acceptedBy)
-
getAcceptedBy
public String getAcceptedBy()
The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner.- Returns:
- acceptedBy
-
setAcceptedBy
public void setAcceptedBy(String acceptedBy)
The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner.- Parameters:
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)
The IP address of the user accepting the Terms of Service.- Parameters:
ipAddress-
-
equals
public boolean equals(Object o)
Return true if this AcceptTermsOfServiceRequest object is equal to o.
-
fromJson
public static AcceptTermsOfServiceRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AcceptTermsOfServiceRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcceptTermsOfServiceRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AcceptTermsOfServiceRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AcceptTermsOfServiceRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-