Class: Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661::Tip

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb,
sig/onlyfans/models/payout_retrieve_earning_statistics_response.rbs

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 ⇒ Object



302
# File 'sig/onlyfans/models/payout_retrieve_earning_statistics_response.rbs', line 302

def initialize: (

Instance Attribute Details

#gross ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


207
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 207

optional :gross, Integer

#net ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


212
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 212

optional :net, Integer

#time ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


217
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 217

optional :time, Integer

Instance Method Details

#to_hash ⇒ { gross: Integer, net: Integer, time: Integer }

Returns:

  • ({ gross: Integer, net: Integer, time: Integer })


308
# File 'sig/onlyfans/models/payout_retrieve_earning_statistics_response.rbs', line 308

def to_hash: -> { gross: Integer, net: Integer, time: Integer }