Class: Onlyfans::Models::Banking::DetailRetrieveAccountCountryDetailsResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/banking/detail_retrieve_account_country_details_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(id: nil, can_has_w9_form: nil, can_pay: nil, code: nil, has_states: nil, has_zip: nil, name: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • can_has_w9_form (Boolean) (defaults to: nil)
  • can_pay (Boolean) (defaults to: nil)
  • code (String) (defaults to: nil)
  • has_states (Boolean) (defaults to: nil)
  • has_zip (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)


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

Instance Attribute Details

#can_has_w9_formBoolean?

Returns:

  • (Boolean, nil)


127
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 127

optional :can_has_w9_form, Onlyfans::Internal::Type::Boolean, api_name: :canHasW9Form

#can_payBoolean?

Returns:

  • (Boolean, nil)


132
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 132

optional :can_pay, Onlyfans::Internal::Type::Boolean, api_name: :canPay

#codeString?

Returns:

  • (String, nil)


137
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 137

optional :code, String

#has_statesBoolean?

Returns:

  • (Boolean, nil)


142
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 142

optional :has_states, Onlyfans::Internal::Type::Boolean, api_name: :hasStates

#has_zipBoolean?

Returns:

  • (Boolean, nil)


147
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 147

optional :has_zip, Onlyfans::Internal::Type::Boolean, api_name: :hasZip

#idInteger?

Returns:

  • (Integer, nil)


122
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 122

optional :id, Integer

#nameString?

Returns:

  • (String, nil)


152
# File 'lib/onlyfans/models/banking/detail_retrieve_account_country_details_response.rb', line 152

optional :name, String