Package com.adyen.model.management
Class MealVoucherFRInfo
- java.lang.Object
-
- com.adyen.model.management.MealVoucherFRInfo
-
public class MealVoucherFRInfo extends Object
MealVoucherFRInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMealVoucherFRInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONECS_IDstatic StringSERIALIZED_NAME_SIRETstatic StringSERIALIZED_NAME_SUB_TYPES
-
Constructor Summary
Constructors Constructor Description MealVoucherFRInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MealVoucherFRInfoaddSubTypesItem(String subTypesItem)MealVoucherFRInfoconecsId(String conecsId)booleanequals(Object o)static MealVoucherFRInfofromJson(String jsonString)Create an instance of MealVoucherFRInfo given an JSON stringStringgetConecsId()Meal Voucher conecsId.StringgetSiret()Meal Voucher siret.List<String>getSubTypes()The list of additional payment methods.inthashCode()voidsetConecsId(String conecsId)voidsetSiret(String siret)voidsetSubTypes(List<String> subTypes)MealVoucherFRInfosiret(String siret)MealVoucherFRInfosubTypes(List<String> subTypes)StringtoJson()Convert an instance of MealVoucherFRInfo 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_CONECS_ID
public static final String SERIALIZED_NAME_CONECS_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIRET
public static final String SERIALIZED_NAME_SIRET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_TYPES
public static final String SERIALIZED_NAME_SUB_TYPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
conecsId
public MealVoucherFRInfo conecsId(String conecsId)
-
getConecsId
public String getConecsId()
Meal Voucher conecsId. Format: digits only- Returns:
- conecsId
-
setConecsId
public void setConecsId(String conecsId)
-
siret
public MealVoucherFRInfo siret(String siret)
-
getSiret
public String getSiret()
Meal Voucher siret. Format: 14 digits.- Returns:
- siret
-
setSiret
public void setSiret(String siret)
-
subTypes
public MealVoucherFRInfo subTypes(List<String> subTypes)
-
addSubTypesItem
public MealVoucherFRInfo addSubTypesItem(String subTypesItem)
-
getSubTypes
public List<String> getSubTypes()
The list of additional payment methods. Allowed values: **mealVoucher_FR_endenred**, **mealVoucher_FR_groupeup**, **mealVoucher_FR_natixis**, **mealVoucher_FR_sodexo**.- Returns:
- subTypes
-
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 MealVoucherFRInfo
-
fromJson
public static MealVoucherFRInfo fromJson(String jsonString) throws IOException
Create an instance of MealVoucherFRInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MealVoucherFRInfo
- Throws:
IOException- if the JSON string is invalid with respect to MealVoucherFRInfo
-
toJson
public String toJson()
Convert an instance of MealVoucherFRInfo to an JSON string- Returns:
- JSON string
-
-