Class: Moov::Models::Operations::ListInvoicesRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, skip: nil, count: nil, 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) ⇒ ListInvoicesRequest

Returns a new instance of ListInvoicesRequest.



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

def initialize(account_id:, skip: nil, count: nil, 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)
  @account_id = 
  @skip = skip
  @count = count
  @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
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @skip == other.skip
  return false unless @count == other.count
  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
  true
end