def product=(product)
      validator = EnumAttributeValidator.new('String', ["REGISTER", "EXTERNAL_API", "BILLING", "APPOINTMENTS", "INVOICES", "ONLINE_STORE", "PAYROLL", "OTHER"])
      unless validator.valid?(product)
        fail ArgumentError, "invalid value for 'product', must be one of #{validator.allowable_values}."
      end
      @product = product
    end
def product=(product)
      validator = EnumAttributeValidator.new('String', ["REGISTER", "EXTERNAL_API", "BILLING", "APPOINTMENTS", "INVOICES", "ONLINE_STORE", "PAYROLL", "OTHER"])
      unless validator.valid?(product)
        fail ArgumentError, "invalid value for 'product', must be one of #{validator.allowable_values}."
      end
      @product = product
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] product Object to be assigned