Class: WhopSDK::Models::VerificationUpdateResponse::Address

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

Overview

See Also:

  • WhopSDK::Models::VerificationUpdateResponse#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



136
# File 'sig/whop_sdk/models/verification_update_response.rbs', line 136

def initialize: (

Instance Attribute Details

#cityString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


146
# File 'lib/whop_sdk/models/verification_update_response.rb', line 146

optional :city, String, nil?: true

#countryString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


152
# File 'lib/whop_sdk/models/verification_update_response.rb', line 152

optional :country, String, nil?: true

#line1String?

First line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


158
# File 'lib/whop_sdk/models/verification_update_response.rb', line 158

optional :line1, String

#line2String?

Second line of the street address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


164
# File 'lib/whop_sdk/models/verification_update_response.rb', line 164

optional :line2, String, nil?: true

#postal_codeString?

Postal or ZIP code.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


170
# File 'lib/whop_sdk/models/verification_update_response.rb', line 170

optional :postal_code, String, nil?: true

#stateString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


176
# File 'lib/whop_sdk/models/verification_update_response.rb', line 176

optional :state, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


145
# File 'sig/whop_sdk/models/verification_update_response.rbs', line 145

def to_hash: -> {