Module: WhopSDK::Models::Transfer::Origin

Extended by:
Internal::Type::Union
Defined in:
lib/whop_sdk/models/transfer.rb

Overview

The entity that sent the transferred funds.

See Also:

Defined Under Namespace

Classes: Company, User

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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

Class Method Details

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/transfer.rb', line 240