Class GeneratePciDescriptionRequest
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GeneratePciDescriptionRequest
-
public class GeneratePciDescriptionRequest extends Object
GeneratePciDescriptionRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneratePciDescriptionRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LANGUAGE
-
Constructor Summary
Constructors Constructor Description GeneratePciDescriptionRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GeneratePciDescriptionRequestfromJson(String jsonString)Create an instance of GeneratePciDescriptionRequest given an JSON stringStringgetLanguage()Sets the language of the PCI questionnaire.inthashCode()GeneratePciDescriptionRequestlanguage(String language)voidsetLanguage(String language)StringtoJson()Convert an instance of GeneratePciDescriptionRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
language
public GeneratePciDescriptionRequest language(String language)
-
getLanguage
public String getLanguage()
Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
-
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 GeneratePciDescriptionRequest
-
fromJson
public static GeneratePciDescriptionRequest fromJson(String jsonString) throws IOException
Create an instance of GeneratePciDescriptionRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneratePciDescriptionRequest
- Throws:
IOException- if the JSON string is invalid with respect to GeneratePciDescriptionRequest
-
toJson
public String toJson()
Convert an instance of GeneratePciDescriptionRequest to an JSON string- Returns:
- JSON string
-
-