Method: OpenapiClient::RecurringPaymentDetails#list_invalid_properties
- Defined in:
- lib/openapi_client/models/recurring_payment_details.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'lib/openapi_client/models/recurring_payment_details.rb', line 184 def list_invalid_properties invalid_properties = Array.new if !@store_id.nil? && @store_id.to_s.length > 20 invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.') end if !@number_of_payments.nil? && @number_of_payments > 999 invalid_properties.push('invalid value for "number_of_payments", must be smaller than or equal to 999.') end if !@number_of_payments.nil? && @number_of_payments < 1 invalid_properties.push('invalid value for "number_of_payments", must be greater than or equal to 1.') end if !@run_count.nil? && @run_count > 999 invalid_properties.push('invalid value for "run_count", must be smaller than or equal to 999.') end if !@run_count.nil? && @run_count < 0 invalid_properties.push('invalid value for "run_count", must be greater than or equal to 0.') end invalid_properties end |