Class: Onlyfans::Models::PayoutListRequestsResponse::Data::List

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/payout_list_requests_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(amount: nil, created_at: nil, currency: nil, invoice_id: nil, reject_reason: nil, state: nil) ⇒ Object

Parameters:

  • amount (Integer) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • currency (String) (defaults to: nil)
  • invoice_id (String) (defaults to: nil)
  • reject_reason (String, nil) (defaults to: nil)
  • state (String) (defaults to: nil)


130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 130

class List < Onlyfans::Internal::Type::BaseModel
  # @!attribute amount
  #
  #   @return [Integer, nil]
  optional :amount, Integer

  # @!attribute created_at
  #
  #   @return [String, nil]
  optional :created_at, String, api_name: :createdAt

  # @!attribute currency
  #
  #   @return [String, nil]
  optional :currency, String

  # @!attribute invoice_id
  #
  #   @return [String, nil]
  optional :invoice_id, String, api_name: :invoiceId

  # @!attribute reject_reason
  #
  #   @return [String, nil]
  optional :reject_reason, String, api_name: :rejectReason, nil?: true

  # @!attribute state
  #
  #   @return [String, nil]
  optional :state, String

  # @!method initialize(amount: nil, created_at: nil, currency: nil, invoice_id: nil, reject_reason: nil, state: nil)
  #   @param amount [Integer]
  #   @param created_at [String]
  #   @param currency [String]
  #   @param invoice_id [String]
  #   @param reject_reason [String, nil]
  #   @param state [String]
end

Instance Attribute Details

#amountInteger?

Returns:

  • (Integer, nil)


134
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 134

optional :amount, Integer

#created_atString?

Returns:

  • (String, nil)


139
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 139

optional :created_at, String, api_name: :createdAt

#currencyString?

Returns:

  • (String, nil)


144
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 144

optional :currency, String

#invoice_idString?

Returns:

  • (String, nil)


149
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 149

optional :invoice_id, String, api_name: :invoiceId

#reject_reasonString?

Returns:

  • (String, nil)


154
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 154

optional :reject_reason, String, api_name: :rejectReason, nil?: true

#stateString?

Returns:

  • (String, nil)


159
# File 'lib/onlyfans/models/payout_list_requests_response.rb', line 159

optional :state, String