Class: WhopSDK::Models::User::EarningsUsd::Personal

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#personal

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



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

def initialize: (

Instance Attribute Details

#last_24_hoursString

Gross income in USD over the last 24 hours.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :last_24_hours, String

#last_30_daysString

Gross income in USD over the last 30 days.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :last_30_days, String

#last_7_daysString

Gross income in USD over the last 7 days.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :last_7_days, String

#lifetimeString

All-time gross income in USD.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :lifetime, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {