Class: Onlyfans::Models::BankingListCountriesResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/banking_list_countries_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(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_list_countries_response.rb', line 150

Instance Attribute Details

#can_has_w9_formBoolean?

Returns:

  • (Boolean, nil)


123
# File 'lib/onlyfans/models/banking_list_countries_response.rb', line 123

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

#can_payBoolean?

Returns:

  • (Boolean, nil)


128
# File 'lib/onlyfans/models/banking_list_countries_response.rb', line 128

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

#codeString?

Returns:

  • (String, nil)


133
# File 'lib/onlyfans/models/banking_list_countries_response.rb', line 133

optional :code, String

#has_statesBoolean?

Returns:

  • (Boolean, nil)


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

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

#has_zipBoolean?

Returns:

  • (Boolean, nil)


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

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

#idInteger?

Returns:

  • (Integer, nil)


118
# File 'lib/onlyfans/models/banking_list_countries_response.rb', line 118

optional :id, Integer

#nameString?

Returns:

  • (String, nil)


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

optional :name, String