Class: WhopSDK::Models::DepositCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::DepositCreateResponse
- Defined in:
- lib/whop_sdk/models/deposit_create_response.rb
Overview
Defined Under Namespace
Modules: Object Classes: DepositAddress, Destination
Instance Attribute Summary collapse
- #amount ⇒ String
- #deposit_address ⇒ WhopSDK::Models::DepositCreateResponse::DepositAddress
- #destination ⇒ WhopSDK::Models::DepositCreateResponse::Destination
- #hosted_url ⇒ String?
- #metadata ⇒ Hash{Symbol=>Object}
- #object ⇒ Symbol, WhopSDK::Models::DepositCreateResponse::Object
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(address:, currency:, network:, account_id: nil) ⇒ Object
|
|
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 37
|
Instance Attribute Details
#amount ⇒ String
10 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 10 required :amount, String |
#deposit_address ⇒ WhopSDK::Models::DepositCreateResponse::DepositAddress
15 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 15 required :deposit_address, -> { WhopSDK::Models::DepositCreateResponse::DepositAddress } |
#destination ⇒ WhopSDK::Models::DepositCreateResponse::Destination
20 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 20 required :destination, -> { WhopSDK::Models::DepositCreateResponse::Destination } |
#hosted_url ⇒ String?
25 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 25 required :hosted_url, String, nil?: true |
#metadata ⇒ Hash{Symbol=>Object}
30 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 30 required :metadata, WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown] |
#object ⇒ Symbol, WhopSDK::Models::DepositCreateResponse::Object
35 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 35 required :object, enum: -> { WhopSDK::Models::DepositCreateResponse::Object } |