Class InstallmentsNumber


  • public class InstallmentsNumber
    extends Object
    InstallmentsNumber
    • Field Detail

      • SERIALIZED_NAME_MAX_NUMBER_OF_INSTALLMENTS

        public static final String SERIALIZED_NAME_MAX_NUMBER_OF_INSTALLMENTS
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • InstallmentsNumber

        public InstallmentsNumber()
    • Method Detail

      • getMaxNumberOfInstallments

        public Integer getMaxNumberOfInstallments()
        Maximum number of installments
        Returns:
        maxNumberOfInstallments
      • setMaxNumberOfInstallments

        public void setMaxNumberOfInstallments​(Integer maxNumberOfInstallments)
      • 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 InstallmentsNumber
      • fromJson

        public static InstallmentsNumber fromJson​(String jsonString)
                                           throws IOException
        Create an instance of InstallmentsNumber given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of InstallmentsNumber
        Throws:
        IOException - if the JSON string is invalid with respect to InstallmentsNumber
      • toJson

        public String toJson()
        Convert an instance of InstallmentsNumber to an JSON string
        Returns:
        JSON string