Class: Onlyfans::Models::Analytics::Financial::TransactionGetSummaryResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(disputed_count: nil, refunded_count: nil, succeeded_count: nil, total_fees: nil, total_gross: nil, total_net: nil) ⇒ Object

Parameters:

  • disputed_count (Integer) (defaults to: nil)
  • refunded_count (Integer) (defaults to: nil)
  • succeeded_count (Integer) (defaults to: nil)
  • total_fees (Float) (defaults to: nil)
  • total_gross (Float) (defaults to: nil)
  • total_net (Float) (defaults to: nil)


# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 39

Instance Attribute Details

#disputed_countInteger?

Returns:

  • (Integer, nil)


12
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 12

optional :disputed_count, Integer

#refunded_countInteger?

Returns:

  • (Integer, nil)


17
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 17

optional :refunded_count, Integer

#succeeded_countInteger?

Returns:

  • (Integer, nil)


22
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 22

optional :succeeded_count, Integer

#total_feesFloat?

Returns:

  • (Float, nil)


27
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 27

optional :total_fees, Float

#total_grossFloat?

Returns:

  • (Float, nil)


32
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 32

optional :total_gross, Float

#total_netFloat?

Returns:

  • (Float, nil)


37
# File 'lib/onlyfans/models/analytics/financial/transaction_get_summary_response.rb', line 37

optional :total_net, Float