Class: WhopSDK::Models::Payouts::MethodListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Payouts::MethodListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/payouts/method_list_params.rb,
sig/whop_sdk/models/payouts/method_list_params.rbs
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#account_id ⇒ String?
The owning account ID (a biz_ identifier).
-
#after ⇒ String?
Cursor to fetch the page after (from page_info.end_cursor).
-
#amount ⇒ Float?
Optional withdrawal amount in whole currency units, for example
250.00. -
#before ⇒ String?
Cursor to fetch the page before (from page_info.start_cursor).
-
#currency ⇒ String?
Currency code of the amount, for example
usd. -
#first ⇒ Integer?
Number of payout methods to return from the start of the window.
-
#include_available ⇒ Boolean?
When true, the response also carries available_destinations — payout rails the account could add as a new payout method, with per-currency quotes when an amount is provided.
-
#last ⇒ Integer?
Number of payout methods to return from the end of the window.
-
#status ⇒ Symbol, ...
Optional status filter.
-
#user_id ⇒ String?
The owning user ID (a user_ identifier).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(account_id: nil, after: nil, amount: nil, before: nil, currency: nil, first: nil, include_available: nil, last: nil, status: nil, user_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see MethodListParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_id: nil, after: nil, amount: nil, before: nil, currency: nil, first: nil, include_available: nil, last: nil, status: nil, user_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::Payouts::MethodListParams for more details.
|
|
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 78
|
Instance Attribute Details
#account_id ⇒ String?
The owning account ID (a biz_ identifier). Provide this or user_id.
15 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 15 optional :account_id, String |
#after ⇒ String?
Cursor to fetch the page after (from page_info.end_cursor).
21 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 21 optional :after, String |
#amount ⇒ Float?
Optional withdrawal amount in whole currency units, for example 250.00. When
provided, each method includes a quote with the estimated fee, amount received,
and delivery date for that amount.
29 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 29 optional :amount, Float |
#before ⇒ String?
Cursor to fetch the page before (from page_info.start_cursor).
35 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 35 optional :before, String |
#currency ⇒ String?
Currency code of the amount, for example usd. Only meaningful with amount.
41 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 41 optional :currency, String |
#first ⇒ Integer?
Number of payout methods to return from the start of the window. Capped at 25 when an amount is provided.
48 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 48 optional :first, Integer |
#include_available ⇒ Boolean?
When true, the response also carries available_destinations — payout rails the account could add as a new payout method, with per-currency quotes when an amount is provided.
56 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 56 optional :include_available, WhopSDK::Internal::Type::Boolean |
#last ⇒ Integer?
Number of payout methods to return from the end of the window.
62 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 62 optional :last, Integer |
#status ⇒ Symbol, ...
Optional status filter. created means saved but unused, active means a
payout through it succeeded, broken means the last payout failed and the
method needs fixing.
70 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 70 optional :status, enum: -> { WhopSDK::Payouts::MethodListParams::Status } |
#user_id ⇒ String?
The owning user ID (a user_ identifier). Provide this or account_id.
76 |
# File 'lib/whop_sdk/models/payouts/method_list_params.rb', line 76 optional :user_id, String |
Instance Method Details
#to_hash ⇒ {
79 |
# File 'sig/whop_sdk/models/payouts/method_list_params.rbs', line 79
def to_hash: -> {
|