Class: WhopSDK::Models::FinancialActivityListResponse::Data::Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::FinancialActivityListResponse::Data::Source
- Defined in:
- lib/whop_sdk/models/financial_activity_list_response.rb,
sig/whop_sdk/models/financial_activity_list_response.rbs
Overview
Defined Under Namespace
Classes: PayoutDestination
Instance Attribute Summary collapse
-
#amount_float ⇒ Float?
Withdrawal amount as a decimal number in the destination currency (withdrawal sources only; requires payout:withdrawal:read).
-
#chain ⇒ String?
Chain the deposit landed on, for example plasma (onchain_transaction sources only).
-
#claim_url ⇒ String?
Public claim URL for the airdrop link (airdrop_link sources only).
-
#created_at ⇒ Time?
Withdrawal creation time as an ISO 8601 timestamp (withdrawal sources only; requires payout:withdrawal:read).
-
#estimated_arrival ⇒ Time?
Estimated arrival as an ISO 8601 timestamp (withdrawal sources only; requires payout:withdrawal:read).
-
#from_amount ⇒ String?
Amount converted out of from_currency as a decimal string (swap sources only).
-
#from_currency ⇒ String?
Lowercase currency code converted from (swap sources only).
- #id ⇒ String
- #object ⇒ String
-
#payer_name ⇒ String?
Name of the entity processing the payout (withdrawal sources only; requires payout:withdrawal:read).
-
#payout_destination ⇒ WhopSDK::Models::FinancialActivityListResponse::Data::Source::PayoutDestination?
Payout destination display info (withdrawal sources only).
-
#payout_token_nickname ⇒ String?
Saved payout destination nickname (withdrawal sources only).
-
#reason ⇒ String?
Transfer reason on transfer sources, for example pool_top_up or bounty_return.
-
#sender_address ⇒ String?
Sender wallet address or onramp provider identifier (onchain_transaction sources only).
-
#status ⇒ String?
Lifecycle status.
-
#to_amount ⇒ String?
Amount received in to_currency as a decimal string (swap sources only).
-
#to_currency ⇒ String?
Lowercase currency code converted to (swap sources only).
-
#tx_hash ⇒ String?
On-chain transaction hash (onchain_transaction and swap sources only).
Instance Method Summary collapse
-
#initialize(id:, object:, amount_float: nil, chain: nil, claim_url: nil, created_at: nil, estimated_arrival: nil, from_amount: nil, from_currency: nil, payer_name: nil, payout_destination: nil, payout_token_nickname: nil, reason: nil, sender_address: nil, status: nil, to_amount: nil, to_currency: nil, tx_hash: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Source for more details.
- #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(id:, object:, amount_float: nil, chain: nil, claim_url: nil, created_at: nil, estimated_arrival: nil, from_amount: nil, from_currency: nil, payer_name: nil, payout_destination: nil, payout_token_nickname: nil, reason: nil, sender_address: nil, status: nil, to_amount: nil, to_currency: nil, tx_hash: nil) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::FinancialActivityListResponse::Data::Source for more details.
Source of this ledger activity.
|
|
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 960
|
Instance Attribute Details
#amount_float ⇒ Float?
Withdrawal amount as a decimal number in the destination currency (withdrawal sources only; requires payout:withdrawal:read).
858 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 858 optional :amount_float, Float, nil?: true |
#chain ⇒ String?
Chain the deposit landed on, for example plasma (onchain_transaction sources only).
865 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 865 optional :chain, String, nil?: true |
#claim_url ⇒ String?
Public claim URL for the airdrop link (airdrop_link sources only).
871 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 871 optional :claim_url, String, nil?: true |
#created_at ⇒ Time?
Withdrawal creation time as an ISO 8601 timestamp (withdrawal sources only; requires payout:withdrawal:read).
878 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 878 optional :created_at, Time, nil?: true |
#estimated_arrival ⇒ Time?
Estimated arrival as an ISO 8601 timestamp (withdrawal sources only; requires payout:withdrawal:read).
885 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 885 optional :estimated_arrival, Time, nil?: true |
#from_amount ⇒ String?
Amount converted out of from_currency as a decimal string (swap sources only).
891 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 891 optional :from_amount, String, nil?: true |
#from_currency ⇒ String?
Lowercase currency code converted from (swap sources only).
897 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 897 optional :from_currency, String, nil?: true |
#id ⇒ String
846 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 846 required :id, String |
#object ⇒ String
851 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 851 required :object, String |
#payer_name ⇒ String?
Name of the entity processing the payout (withdrawal sources only; requires payout:withdrawal:read).
904 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 904 optional :payer_name, String, nil?: true |
#payout_destination ⇒ WhopSDK::Models::FinancialActivityListResponse::Data::Source::PayoutDestination?
Payout destination display info (withdrawal sources only).
910 911 912 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 910 optional :payout_destination, -> { WhopSDK::Models::FinancialActivityListResponse::Data::Source::PayoutDestination }, nil?: true |
#payout_token_nickname ⇒ String?
Saved payout destination nickname (withdrawal sources only).
918 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 918 optional :payout_token_nickname, String, nil?: true |
#reason ⇒ String?
Transfer reason on transfer sources, for example pool_top_up or bounty_return.
924 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 924 optional :reason, String, nil?: true |
#sender_address ⇒ String?
Sender wallet address or onramp provider identifier (onchain_transaction sources only).
931 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 931 optional :sender_address, String, nil?: true |
#status ⇒ String?
Lifecycle status. On withdrawal sources this is the withdrawal status (requires payout:withdrawal:read); on airdrop_link sources it is the claim-link status (ungated); on payment and top-up sources it is the friendly payment status such as succeeded/pending/failed (ungated).
940 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 940 optional :status, String, nil?: true |
#to_amount ⇒ String?
Amount received in to_currency as a decimal string (swap sources only).
946 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 946 optional :to_amount, String, nil?: true |
#to_currency ⇒ String?
Lowercase currency code converted to (swap sources only).
952 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 952 optional :to_currency, String, nil?: true |
#tx_hash ⇒ String?
On-chain transaction hash (onchain_transaction and swap sources only).
958 |
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 958 optional :tx_hash, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
763 |
# File 'sig/whop_sdk/models/financial_activity_list_response.rbs', line 763
def to_hash: -> {
|