Class: WhopSDK::Models::User::EarningsUsd::OwnedAccounts

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/user.rb,
sig/whop_sdk/models/user.rbs

Overview

See Also:

  • WhopSDK::Models::User::EarningsUsd#owned_accounts

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

#initializeObject



161
# File 'sig/whop_sdk/models/user.rbs', line 161

def initialize: (

Instance Attribute Details

#last_24_hoursString

Gross income in USD over the last 24 hours.

Parameters:

  • value (String)

Returns:

  • (String)


217
# File 'lib/whop_sdk/models/user.rb', line 217

required :last_24_hours, String

#last_30_daysString

Gross income in USD over the last 30 days.

Parameters:

  • value (String)

Returns:

  • (String)


223
# File 'lib/whop_sdk/models/user.rb', line 223

required :last_30_days, String

#last_7_daysString

Gross income in USD over the last 7 days.

Parameters:

  • value (String)

Returns:

  • (String)


229
# File 'lib/whop_sdk/models/user.rb', line 229

required :last_7_days, String

#lifetimeString

All-time gross income in USD.

Parameters:

  • value (String)

Returns:

  • (String)


235
# File 'lib/whop_sdk/models/user.rb', line 235

required :lifetime, String

Instance Method Details

#to_hash{

Returns:

  • ({)


168
# File 'sig/whop_sdk/models/user.rbs', line 168

def to_hash: -> {