Class: Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: Dac7, Tax

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(country_ids: nil, error: nil, required: nil, state: nil, type: nil) ⇒ Object

Parameters:

  • country_ids (Array<Integer>) (defaults to: nil)
  • error (String, nil) (defaults to: nil)
  • required (Boolean) (defaults to: nil)
  • state (String) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 193

Instance Attribute Details

#can_change_payout_typeBoolean?

Returns:

  • (Boolean, nil)


121
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 121

optional :can_change_payout_type, Onlyfans::Internal::Type::Boolean, api_name: :canChangePayoutType

Returns:

  • (Boolean, nil)


126
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 126

optional :can_show_legal_form, Onlyfans::Internal::Type::Boolean, api_name: :canShowLegalForm

#dac7Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data::Dac7?



131
132
133
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 131

optional :dac7,
-> { Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data::Dac7 },
api_name: :DAC7

#hide_bankingBoolean?

Returns:

  • (Boolean, nil)


138
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 138

optional :hide_banking, Onlyfans::Internal::Type::Boolean, api_name: :hideBanking

#is_real_id_imageBoolean?

Returns:

  • (Boolean, nil)


143
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 143

optional :is_real_id_image, Onlyfans::Internal::Type::Boolean, api_name: :isRealIdImage

#is_w9_existBoolean?

Returns:

  • (Boolean, nil)


148
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 148

optional :is_w9_exist, Onlyfans::Internal::Type::Boolean, api_name: :isW9Exist

#is_w9_requiredBoolean?

Returns:

  • (Boolean, nil)


153
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 153

optional :is_w9_required, Onlyfans::Internal::Type::Boolean, api_name: :isW9Required

#is_xxxBoolean?

Returns:

  • (Boolean, nil)


158
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 158

optional :is_xxx, Onlyfans::Internal::Type::Boolean, api_name: :isXXX

#iv_fail_reasonString?

Returns:

  • (String, nil)


163
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 163

optional :iv_fail_reason, String, api_name: :ivFailReason, nil?: true

#iv_statusString?

Returns:

  • (String, nil)


168
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 168

optional :iv_status, String, api_name: :ivStatus

#need_show_edit_w9Boolean?

Returns:

  • (Boolean, nil)


173
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 173

optional :need_show_edit_w9, Onlyfans::Internal::Type::Boolean, api_name: :needShowEditW9

Returns:

  • (String, nil)


178
179
180
181
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 178

optional :payout_legal_approve_reject_reason,
String,
api_name: :payoutLegalApproveRejectReason,
nil?: true

#show_iv_buttonBoolean?

Returns:

  • (Boolean, nil)


186
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 186

optional :show_iv_button, Onlyfans::Internal::Type::Boolean, api_name: :showIvButton

#taxOnlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data::Tax?



191
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 191

optional :tax, -> { Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data::Tax }