Class: WhopSDK::Models::VerificationCreateParams::Body::Business::Address

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

Overview

See Also:

  • WhopSDK::Models::VerificationCreateParams::Body::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



330
# File 'sig/whop_sdk/models/verification_create_params.rbs', line 330

def initialize: (

Instance Attribute Details

#cityString?

Parameters:

  • (String)

Returns:

  • (String, nil)


350
# File 'lib/whop_sdk/models/verification_create_params.rb', line 350

optional :city, String

#countryString?

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

Parameters:

  • (String)

Returns:

  • (String, nil)


356
# File 'lib/whop_sdk/models/verification_create_params.rb', line 356

optional :country, String

#line1String?

First line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


362
# File 'lib/whop_sdk/models/verification_create_params.rb', line 362

optional :line1, String

#line2String?

Second line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


368
# File 'lib/whop_sdk/models/verification_create_params.rb', line 368

optional :line2, String

#postal_codeString?

Postal or ZIP code.

Parameters:

  • (String)

Returns:

  • (String, nil)


374
# File 'lib/whop_sdk/models/verification_create_params.rb', line 374

optional :postal_code, String

#stateString?

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

Parameters:

  • (String)

Returns:

  • (String, nil)


380
# File 'lib/whop_sdk/models/verification_create_params.rb', line 380

optional :state, String

Instance Method Details

#to_hash{

Returns:

  • ({)


339
# File 'sig/whop_sdk/models/verification_create_params.rbs', line 339

def to_hash: -> {