Class: Clerk::Models::Operations::GetBillingStatementListRequest

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/getbillingstatementlist_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(paginated: nil, limit: 10, offset: 0) ⇒ GetBillingStatementListRequest

Returns a new instance of GetBillingStatementListRequest.



28
29
30
31
32
# File 'lib/clerk/models/operations/getbillingstatementlist_request.rb', line 28

def initialize(paginated: nil, limit: 10, offset: 0)
  @paginated = paginated
  @limit = limit
  @offset = offset
end

Instance Method Details

#==(other) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/clerk/models/operations/getbillingstatementlist_request.rb', line 35

def ==(other)
  return false unless other.is_a? self.class
  return false unless @paginated == other.paginated
  return false unless @limit == other.limit
  return false unless @offset == other.offset
  true
end