Class: Moov::Models::Operations::ListStatementsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/operations/liststatements_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:, x_moov_version: nil, billing_period_start_date_time: nil, billing_period_end_date_time: nil, skip: nil, count: nil) ⇒ ListStatementsRequest

Returns a new instance of ListStatementsRequest.



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

def initialize(account_id:, x_moov_version: nil, billing_period_start_date_time: nil, billing_period_end_date_time: nil, skip: nil, count: nil)
  @account_id = 
  @x_moov_version = x_moov_version
  @billing_period_start_date_time = billing_period_start_date_time
  @billing_period_end_date_time = billing_period_end_date_time
  @skip = skip
  @count = count
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @x_moov_version == other.x_moov_version
  return false unless @billing_period_start_date_time == other.billing_period_start_date_time
  return false unless @billing_period_end_date_time == other.billing_period_end_date_time
  return false unless @skip == other.skip
  return false unless @count == other.count
  true
end