Package com.adyen.model.management
Class CartesBancairesInfo
- java.lang.Object
-
- com.adyen.model.management.CartesBancairesInfo
-
public class CartesBancairesInfo extends Object
CartesBancairesInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCartesBancairesInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SIRET
-
Constructor Summary
Constructors Constructor Description CartesBancairesInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CartesBancairesInfofromJson(String jsonString)Create an instance of CartesBancairesInfo given an JSON stringStringgetSiret()Cartes Bancaires SIRET.inthashCode()voidsetSiret(String siret)CartesBancairesInfosiret(String siret)StringtoJson()Convert an instance of CartesBancairesInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
siret
public CartesBancairesInfo siret(String siret)
-
getSiret
public String getSiret()
Cartes Bancaires SIRET. Format: 14 digits.- Returns:
- siret
-
setSiret
public void setSiret(String siret)
-
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 CartesBancairesInfo
-
fromJson
public static CartesBancairesInfo fromJson(String jsonString) throws IOException
Create an instance of CartesBancairesInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CartesBancairesInfo
- Throws:
IOException- if the JSON string is invalid with respect to CartesBancairesInfo
-
toJson
public String toJson()
Convert an instance of CartesBancairesInfo to an JSON string- Returns:
- JSON string
-
-