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

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

Overview

See Also:

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_code: nil, editable: nil, is_banking_disabled: nil) ⇒ Object

Parameters:

  • country_code (String) (defaults to: nil)
  • editable (Boolean) (defaults to: nil)
  • is_banking_disabled (Boolean) (defaults to: nil)


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

Instance Attribute Details

#country_codeString?

Returns:

  • (String, nil)


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

optional :country_code, String, api_name: :countryCode

#editableBoolean?

Returns:

  • (Boolean, nil)


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

optional :editable, Onlyfans::Internal::Type::Boolean

#is_banking_disabledBoolean?

Returns:

  • (Boolean, nil)


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

optional :is_banking_disabled, Onlyfans::Internal::Type::Boolean, api_name: :isBankingDisabled