Class GetTermsOfServiceAcceptanceInfosResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GetTermsOfServiceAcceptanceInfosResponse
-
public class GetTermsOfServiceAcceptanceInfosResponse extends Object
GetTermsOfServiceAcceptanceInfosResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTermsOfServiceAcceptanceInfosResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATA
-
Constructor Summary
Constructors Constructor Description GetTermsOfServiceAcceptanceInfosResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTermsOfServiceAcceptanceInfosResponseaddDataItem(TermsOfServiceAcceptanceInfo dataItem)GetTermsOfServiceAcceptanceInfosResponsedata(List<TermsOfServiceAcceptanceInfo> data)booleanequals(Object o)static GetTermsOfServiceAcceptanceInfosResponsefromJson(String jsonString)Create an instance of GetTermsOfServiceAcceptanceInfosResponse given an JSON stringList<TermsOfServiceAcceptanceInfo>getData()The Terms of Service acceptance information.inthashCode()voidsetData(List<TermsOfServiceAcceptanceInfo> data)StringtoJson()Convert an instance of GetTermsOfServiceAcceptanceInfosResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
data
public GetTermsOfServiceAcceptanceInfosResponse data(List<TermsOfServiceAcceptanceInfo> data)
-
addDataItem
public GetTermsOfServiceAcceptanceInfosResponse addDataItem(TermsOfServiceAcceptanceInfo dataItem)
-
getData
public List<TermsOfServiceAcceptanceInfo> getData()
The Terms of Service acceptance information.- Returns:
- data
-
setData
public void setData(List<TermsOfServiceAcceptanceInfo> data)
-
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 GetTermsOfServiceAcceptanceInfosResponse
-
fromJson
public static GetTermsOfServiceAcceptanceInfosResponse fromJson(String jsonString) throws IOException
Create an instance of GetTermsOfServiceAcceptanceInfosResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetTermsOfServiceAcceptanceInfosResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetTermsOfServiceAcceptanceInfosResponse
-
toJson
public String toJson()
Convert an instance of GetTermsOfServiceAcceptanceInfosResponse to an JSON string- Returns:
- JSON string
-
-