Method: OpenapiClient::PayslipResponse#valid?

Defined in:
lib/openapi_client/models/payslip_response.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



264
265
266
267
268
269
270
271
272
273
# File 'lib/openapi_client/models/payslip_response.rb', line 264

def valid?
  return false if @employee_id.nil?
  return false if @employee_remote_id.nil?
  return false if @payrun_id.nil?
  return false if @payrun_remote_id.nil?
  return false if @start_date.nil?
  return false if @end_date.nil?
  return false if @payment_date.nil?
  true
end