Class: Onlyfans::Models::TransactionListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::TransactionListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/onlyfans/models/transaction_list_params.rb,
sig/onlyfans/models/transaction_list_params.rbs
Overview
Instance Attribute Summary collapse
- #account ⇒ String
-
#limit ⇒ String?
The number of transactions to return.
-
#marker ⇒ String?
The marker used for pagination.
-
#start_date ⇒ String?
The start date for transactions list.
-
#tips_source ⇒ String?
Filter tips by source.
-
#type ⇒ String?
Filter by transaction type.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(account:, limit: nil, marker: nil, start_date: nil, tips_source: nil, type: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see TransactionListParams 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:, limit: nil, marker: nil, start_date: nil, tips_source: nil, type: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Onlyfans::Models::TransactionListParams for more details.
`post_
|
|
# File 'lib/onlyfans/models/transaction_list_params.rb', line 47
|
Instance Attribute Details
#account ⇒ String
13 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 13 required :account, String |
#limit ⇒ String?
The number of transactions to return. Recommended: 10
19 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 19 optional :limit, String |
#marker ⇒ String?
The marker used for pagination. Default: null
25 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 25 optional :marker, String |
#start_date ⇒ String?
The start date for transactions list. Default: -30days
31 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 31 optional :start_date, String |
#tips_source ⇒ String?
Filter tips by source. Only applies when type=tips. Options: profile,
post_all, chat, stream, story
38 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 38 optional :tips_source, String |
#type ⇒ String?
Filter by transaction type. Options: subscribes, tips, post,
chat_messages, stream
45 |
# File 'lib/onlyfans/models/transaction_list_params.rb', line 45 optional :type, String |
Instance Method Details
#to_hash ⇒ {
50 |
# File 'sig/onlyfans/models/transaction_list_params.rbs', line 50
def to_hash: -> {
|