Class: WhopSDK::Models::LedgerAccountRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::LedgerAccountRetrieveResponse
- Defined in:
- lib/whop_sdk/models/ledger_account_retrieve_response.rb
Overview
Defined Under Namespace
Modules: LedgerAccountAuditStatus, LedgerType, Owner, PaymentsApprovalStatus Classes: Balance
Instance Attribute Summary collapse
-
#balances ⇒ Array<WhopSDK::Models::LedgerAccountRetrieveResponse::Balance>
The balances associated with the account.
-
#id ⇒ String
The ID of the LedgerAccount.
-
#ledger_account_audit_status ⇒ Symbol, ...
The different statuses a LedgerAccountAudit can be.
-
#ledger_type ⇒ Symbol, WhopSDK::Models::LedgerAccountRetrieveResponse::LedgerType
The type of ledger account.
-
#owner ⇒ WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::User, ...
The owner of the ledger account.
-
#payments_approval_status ⇒ Symbol, ...
The different approval statuses an account can have.
-
#transfer_fee ⇒ Float?
The fee for transfers, if applicable.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::User, WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::Company)
Instance Method Summary collapse
-
#initialize(id: , route: , title: , typename: :Company) ⇒ Object
constructor
An object representing a (sanitized) company.
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(id: , route: , title: , typename: :Company) ⇒ Object
An object representing a (sanitized) company.
|
|
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 96
|
Instance Attribute Details
#balances ⇒ Array<WhopSDK::Models::LedgerAccountRetrieveResponse::Balance>
The balances associated with the account.
17 18 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 17 required :balances, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::LedgerAccountRetrieveResponse::Balance] } |
#id ⇒ String
The ID of the LedgerAccount.
11 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 11 required :id, String |
#ledger_account_audit_status ⇒ Symbol, ...
The different statuses a LedgerAccountAudit can be
24 25 26 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 24 required :ledger_account_audit_status, enum: -> { WhopSDK::Models::LedgerAccountRetrieveResponse::LedgerAccountAuditStatus }, nil?: true |
#ledger_type ⇒ Symbol, WhopSDK::Models::LedgerAccountRetrieveResponse::LedgerType
The type of ledger account.
32 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 32 required :ledger_type, enum: -> { WhopSDK::Models::LedgerAccountRetrieveResponse::LedgerType } |
#owner ⇒ WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::User, ...
The owner of the ledger account.
38 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 38 required :owner, union: -> { WhopSDK::Models::LedgerAccountRetrieveResponse::Owner } |
#payments_approval_status ⇒ Symbol, ...
The different approval statuses an account can have.
44 45 46 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 44 required :payments_approval_status, enum: -> { WhopSDK::Models::LedgerAccountRetrieveResponse::PaymentsApprovalStatus }, nil?: true |
#transfer_fee ⇒ Float?
The fee for transfers, if applicable.
52 |
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 52 required :transfer_fee, Float, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 127
|
.variants ⇒ Array(WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::User, WhopSDK::Models::LedgerAccountRetrieveResponse::Owner::Company)
|
|
# File 'lib/whop_sdk/models/ledger_account_retrieve_response.rb', line 232
|