Class: Onlyfans::Models::BankingListAvailablePayoutSystemsResponse::Data::Payout

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/banking_list_available_payout_systems_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(code: nil, description: nil, fields: nil, fields_order: nil, min_payout_summ: nil, payout_time: nil, subtitle: nil, title: nil, ui_mapping: nil) ⇒ Object

Parameters:

  • code (String) (defaults to: nil)
  • description (String) (defaults to: nil)
  • fields (Hash{Symbol=>Object}) (defaults to: nil)
  • fields_order (Array<Object>) (defaults to: nil)
  • min_payout_summ (Integer) (defaults to: nil)
  • payout_time (String) (defaults to: nil)
  • subtitle (String) (defaults to: nil)
  • title (String) (defaults to: nil)
  • ui_mapping (Hash{Symbol=>Object}) (defaults to: nil)


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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 131

class Payout < Onlyfans::Internal::Type::BaseModel
  # @!attribute code
  #
  #   @return [String, nil]
  optional :code, String

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

  # @!attribute fields
  #
  #   @return [Hash{Symbol=>Object}, nil]
  optional :fields, Onlyfans::Internal::Type::HashOf[Onlyfans::Internal::Type::Unknown]

  # @!attribute fields_order
  #
  #   @return [Array<Object>, nil]
  optional :fields_order,
           Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown],
           api_name: :fieldsOrder

  # @!attribute min_payout_summ
  #
  #   @return [Integer, nil]
  optional :min_payout_summ, Integer, api_name: :minPayoutSumm

  # @!attribute payout_time
  #
  #   @return [String, nil]
  optional :payout_time, String, api_name: :payoutTime

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

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

  # @!attribute ui_mapping
  #
  #   @return [Hash{Symbol=>Object}, nil]
  optional :ui_mapping,
           Onlyfans::Internal::Type::HashOf[Onlyfans::Internal::Type::Unknown],
           api_name: :uiMapping

  # @!method initialize(code: nil, description: nil, fields: nil, fields_order: nil, min_payout_summ: nil, payout_time: nil, subtitle: nil, title: nil, ui_mapping: nil)
  #   @param code [String]
  #   @param description [String]
  #   @param fields [Hash{Symbol=>Object}]
  #   @param fields_order [Array<Object>]
  #   @param min_payout_summ [Integer]
  #   @param payout_time [String]
  #   @param subtitle [String]
  #   @param title [String]
  #   @param ui_mapping [Hash{Symbol=>Object}]
end

Instance Attribute Details

#codeString?

Returns:

  • (String, nil)


135
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 135

optional :code, String

#descriptionString?

Returns:

  • (String, nil)


140
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 140

optional :description, String

#fieldsHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


145
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 145

optional :fields, Onlyfans::Internal::Type::HashOf[Onlyfans::Internal::Type::Unknown]

#fields_orderArray<Object>?

Returns:

  • (Array<Object>, nil)


150
151
152
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 150

optional :fields_order,
Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown],
api_name: :fieldsOrder

#min_payout_summInteger?

Returns:

  • (Integer, nil)


157
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 157

optional :min_payout_summ, Integer, api_name: :minPayoutSumm

#payout_timeString?

Returns:

  • (String, nil)


162
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 162

optional :payout_time, String, api_name: :payoutTime

#subtitleString?

Returns:

  • (String, nil)


167
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 167

optional :subtitle, String

#titleString?

Returns:

  • (String, nil)


172
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 172

optional :title, String

#ui_mappingHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


177
178
179
# File 'lib/onlyfans/models/banking_list_available_payout_systems_response.rb', line 177

optional :ui_mapping,
Onlyfans::Internal::Type::HashOf[Onlyfans::Internal::Type::Unknown],
api_name: :uiMapping