Exception: Moov::Models::Errors::ListInvoicesValidationError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/errors/listinvoicesvalidationerror.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil, skip: nil, count: nil, raw_response: nil) ⇒ ListInvoicesValidationError

Returns a new instance of ListInvoicesValidationError.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/moov/models/errors/listinvoicesvalidationerror.rb', line 35

def initialize(status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil, skip: nil, count: nil, raw_response: nil)
  @status = status
  @customer_account_id = 
  @created_start_date_time = created_start_date_time
  @created_end_date_time = created_end_date_time
  @due_start_date_time = due_start_date_time
  @due_end_date_time = due_end_date_time
  @skip = skip
  @count = count
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/moov/models/errors/listinvoicesvalidationerror.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @status == other.status
  return false unless @customer_account_id == other.
  return false unless @created_start_date_time == other.created_start_date_time
  return false unless @created_end_date_time == other.created_end_date_time
  return false unless @due_start_date_time == other.due_start_date_time
  return false unless @due_end_date_time == other.due_end_date_time
  return false unless @skip == other.skip
  return false unless @count == other.count
  return false unless @raw_response == other.raw_response
  true
end