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,
sig/whop_sdk/models/deposit_create_response.rbs
Overview
Defined Under Namespace
Modules: Object Classes: Methods
Instance Attribute Summary collapse
-
#account_id ⇒ String?
Account ID of the destination owner.
-
#amount ⇒ String?
Requested deposit amount.
-
#hosted_url ⇒ String?
URL of the hosted deposit page.
-
#metadata ⇒ Hash{Symbol=>Object}
Metadata from the request.
-
#methods_ ⇒ WhopSDK::Models::DepositCreateResponse::Methods
Available deposit methods for destination.
- #object ⇒ Symbol, WhopSDK::Models::DepositCreateResponse::Object
Instance Method Summary collapse
- #initialize(icon_url:, name:) ⇒ 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(icon_url:, name:) ⇒ Object
|
|
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 42
|
Instance Attribute Details
#account_id ⇒ String?
Account ID of the destination owner. Null for raw wallet address destinations.
11 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 11 required :account_id, String, nil?: true |
#amount ⇒ String?
Requested deposit amount.
40 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 40 optional :amount, String |
#hosted_url ⇒ String?
URL of the hosted deposit page. Only present for business destinations.
17 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 17 required :hosted_url, String, nil?: true |
#metadata ⇒ Hash{Symbol=>Object}
Metadata from the request.
23 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 23 required :metadata, WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown] |
#methods_ ⇒ WhopSDK::Models::DepositCreateResponse::Methods
Available deposit methods for destination.
29 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 29 required :methods_, -> { WhopSDK::Models::DepositCreateResponse::Methods }, api_name: :methods |
#object ⇒ Symbol, WhopSDK::Models::DepositCreateResponse::Object
34 |
# File 'lib/whop_sdk/models/deposit_create_response.rb', line 34 required :object, enum: -> { WhopSDK::Models::DepositCreateResponse::Object } |
Instance Method Details
#to_hash ⇒ {
37 |
# File 'sig/whop_sdk/models/deposit_create_response.rbs', line 37
def to_hash: -> {
|