Class: WhopSDK::Models::LedgerAccountFundsAvailableWebhookEvent::Data::Owner::Company

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb,
sig/whop_sdk/models/ledger_account_funds_available_webhook_event.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

#initializeObject



184
# File 'sig/whop_sdk/models/ledger_account_funds_available_webhook_event.rbs', line 184

def initialize: (

Instance Attribute Details

#idString

The unique identifier for the company.

Parameters:

  • value (String)

Returns:

  • (String)


243
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 243

required :id, String

#routeString

URL slug for the account's store page, e.g. pickaxe in whop.com/pickaxe.

Parameters:

  • value (String)

Returns:

  • (String)


249
# File 'lib/whop_sdk/models/ledger_account_funds_available_webhook_event.rb', line 249

required :route, String

#titleString

The display name of the company shown to customers.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :title, String

#typenameSymbol, :Company

The typename of this object

Parameters:

  • value (:Company)

Returns:

  • (Symbol, :Company)


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

required :typename, const: :Company

Instance Method Details

#to_hash{

Returns:

  • ({)


191
# File 'sig/whop_sdk/models/ledger_account_funds_available_webhook_event.rbs', line 191

def to_hash: -> {