Class: WhopSDK::Models::VerificationListResponse::Data::Address

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

Overview

See Also:

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



154
# File 'sig/whop_sdk/models/verification_list_response.rbs', line 154

def initialize: (

Instance Attribute Details

#cityString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


155
# File 'lib/whop_sdk/models/verification_list_response.rb', line 155

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)


161
# File 'lib/whop_sdk/models/verification_list_response.rb', line 161

optional :country, String, nil?: true

#line1String?

First line of the street address.

Parameters:

  • (String)

Returns:

  • (String, nil)


167
# File 'lib/whop_sdk/models/verification_list_response.rb', line 167

optional :line1, String

#line2String?

Second line of the street address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


173
# File 'lib/whop_sdk/models/verification_list_response.rb', line 173

optional :line2, String, nil?: true

#postal_codeString?

Postal or ZIP code.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


179
# File 'lib/whop_sdk/models/verification_list_response.rb', line 179

optional :postal_code, String, nil?: true

#stateString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


185
# File 'lib/whop_sdk/models/verification_list_response.rb', line 185

optional :state, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


163
# File 'sig/whop_sdk/models/verification_list_response.rbs', line 163

def to_hash: -> {