Class: Onlyfans::Models::StatisticCalculateTotalTransactionsResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/statistic_calculate_total_transactions_response.rb,
sig/onlyfans/models/statistic_calculate_total_transactions_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(total_amount: nil, total_transactions: nil) ⇒ Object
|
# File 'lib/onlyfans/models/statistic_calculate_total_transactions_response.rb', line 17
|
Instance Attribute Details
#total_amount ⇒ Float?
10
|
# File 'lib/onlyfans/models/statistic_calculate_total_transactions_response.rb', line 10
optional :total_amount, Float
|
#total_transactions ⇒ Integer?
15
|
# File 'lib/onlyfans/models/statistic_calculate_total_transactions_response.rb', line 15
optional :total_transactions, Integer
|
Instance Method Details
#to_hash ⇒ { total_amount: Float, total_transactions: Integer }
20
|
# File 'sig/onlyfans/models/statistic_calculate_total_transactions_response.rbs', line 20
def to_hash: -> { total_amount: Float, total_transactions: Integer }
|