Class: WhopSDK::Models::VerificationUpdateParams::Body::UpdateBusinessVerification::BusinessAddress

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/whop_sdk/models/verification_update_params.rb,
sig/whop_sdk/models/verification_update_params.rbs

Overview

See Also:

  • WhopSDK::Models::VerificationUpdateParams::Body::UpdateBusinessVerification#business_address

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

#initializeObject



390
# File 'sig/whop_sdk/models/verification_update_params.rbs', line 390

def initialize: (

Instance Attribute Details

#cityString?

Parameters:

  • (String)

Returns:

  • (String, nil)


371
# File 'lib/whop_sdk/models/verification_update_params.rb', line 371

optional :city, String

#countryString?

Two-letter ISO 3166-1 country code, for example US, DE, or GB.

Parameters:

  • (String)

Returns:

  • (String, nil)


377
# File 'lib/whop_sdk/models/verification_update_params.rb', line 377

optional :country, String

#line1String?

First line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


383
# File 'lib/whop_sdk/models/verification_update_params.rb', line 383

optional :line1, String

#line2String?

Second line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


389
# File 'lib/whop_sdk/models/verification_update_params.rb', line 389

optional :line2, String

#postal_codeString?

Postal or ZIP code.

Parameters:

  • (String)

Returns:

  • (String, nil)


395
# File 'lib/whop_sdk/models/verification_update_params.rb', line 395

optional :postal_code, String

#stateString?

State, province, or region code, for example CA.

Parameters:

  • (String)

Returns:

  • (String, nil)


401
# File 'lib/whop_sdk/models/verification_update_params.rb', line 401

optional :state, String

Instance Method Details

#to_hash{

Returns:

  • ({)


399
# File 'sig/whop_sdk/models/verification_update_params.rbs', line 399

def to_hash: -> {