Class: WhopSDK::Models::DepositCreateResponse::Methods::Crypto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::DepositCreateResponse::Methods::Crypto
- Defined in:
- lib/whop_sdk/models/deposit_create_response.rb,
sig/whop_sdk/models/deposit_create_response.rbs
Defined Under Namespace
Classes: SupportedCurrency
Instance Attribute Summary collapse
-
#deposit_address ⇒ String?
Address to send funds to on this network.
-
#icon_url ⇒ String?
Network icon URL.
-
#name ⇒ String
Network display name, such as
EthereumorSolana. -
#supported_currencies ⇒ Array<WhopSDK::Models::DepositCreateResponse::Methods::Crypto::SupportedCurrency>
Tokens accepted for deposit on this network.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
148 |
# File 'sig/whop_sdk/models/deposit_create_response.rbs', line 148
def initialize: (
|
Instance Attribute Details
#deposit_address ⇒ String?
Address to send funds to on this network. Null when the provider has not issued one yet.
163 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 163 required :deposit_address, String, nil?: true |
#icon_url ⇒ String?
Network icon URL.
169 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 169 required :icon_url, String, nil?: true |
#name ⇒ String
Network display name, such as Ethereum or Solana.
175 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 175 required :name, String |
#supported_currencies ⇒ Array<WhopSDK::Models::DepositCreateResponse::Methods::Crypto::SupportedCurrency>
Tokens accepted for deposit on this network.
181 182 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 181 required :supported_currencies, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::DepositCreateResponse::Methods::Crypto::SupportedCurrency] } |
Instance Method Details
#to_hash ⇒ {
155 |
# File 'sig/whop_sdk/models/deposit_create_response.rbs', line 155
def to_hash: -> {
|