Class MealVoucherFRInfo


  • public class MealVoucherFRInfo
    extends Object
    MealVoucherFRInfo
    • Constructor Detail

      • MealVoucherFRInfo

        public MealVoucherFRInfo()
    • Method Detail

      • getConecsId

        public String getConecsId()
        Meal Voucher conecsId. Format: digits only
        Returns:
        conecsId
      • setConecsId

        public void setConecsId​(String conecsId)
      • getSiret

        public String getSiret()
        Meal Voucher siret. Format: 14 digits.
        Returns:
        siret
      • setSiret

        public void setSiret​(String siret)
      • 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
      • setSubTypes

        public void setSubTypes​(List<String> subTypes)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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