Class: Privy::Models::WalletCustodian

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/wallet_custodian.rb

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

#initialize(provider:, provider_user_id:) ⇒ Object

Information about the custodian managing this wallet.

Parameters:

  • provider (String)

    The custodian responsible for the wallet.

  • provider_user_id (String)

    The resource ID of the beneficiary of the custodial wallet.



# File 'lib/privy/models/wallet_custodian.rb', line 18

Instance Attribute Details

#providerString

The custodian responsible for the wallet.

Returns:

  • (String)


10
# File 'lib/privy/models/wallet_custodian.rb', line 10

required :provider, String

#provider_user_idString

The resource ID of the beneficiary of the custodial wallet.

Returns:

  • (String)


16
# File 'lib/privy/models/wallet_custodian.rb', line 16

required :provider_user_id, String