Module: WhopSDK::Models::LedgerAccountRetrieveResponse::Owner

Extended by:
Internal::Type::Union
Defined in:
lib/whop_sdk/models/ledger_account_retrieve_response.rb,
sig/whop_sdk/models/ledger_account_retrieve_response.rbs

Overview

The owner of the ledger account.

See Also:

  • WhopSDK::Models::LedgerAccountRetrieveResponse#owner

Defined Under Namespace

Classes: Company, User

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(id:, name:, username:, typename: :User) ⇒ Object

A user account on Whop. Contains profile information, identity details, and social connections.

Parameters:

  • id (String)

    The unique identifier for the user.

  • name (String, nil)

    The user's display name shown on their public profile.

  • username (String)

    The user's unique username shown on their public profile.

  • typename (Symbol, :User) (defaults to: :User)

    The typename of this object



# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 171

#self?.variants::Array[WhopSDK::Models::LedgerAccountRetrieveResponse::owner]

Returns:

  • (::Array[WhopSDK::Models::LedgerAccountRetrieveResponse::owner])


158
# File 'sig/whop_sdk/models/ledger_account_retrieve_response.rbs', line 158

def self?.variants: -> ::Array[WhopSDK::Models::LedgerAccountRetrieveResponse::owner]