Class: Clerk::Models::Operations::GetBillingStatementPaymentAttemptsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

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

Returns a new instance of GetBillingStatementPaymentAttemptsRequest.



30
31
32
33
34
35
# File 'lib/clerk/models/operations/getbillingstatementpaymentattempts_request.rb', line 30

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

Instance Method Details

#==(other) ⇒ Object



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

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