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

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

Defined Under Namespace

Classes: BusinessAddress, RequestedInformation

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(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ Object

Business address.

Parameters:

  • city (String) (defaults to: nil)
  • country (String) (defaults to: nil)

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

  • line1 (String) (defaults to: nil)

    First line of the street address.

  • line2 (String) (defaults to: nil)

    Second line of the street address.

  • postal_code (String) (defaults to: nil)

    Postal or ZIP code.

  • state (String) (defaults to: nil)

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



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

Instance Attribute Details

#business_addressWhopSDK::Models::VerificationUpdateParams::Body::UpdateBusinessVerification::BusinessAddress?

Business address.



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

optional :business_address,
-> { WhopSDK::VerificationUpdateParams::Body::UpdateBusinessVerification::BusinessAddress }

#business_nameString?

Legal business name.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :business_name, String

#business_structureString?

Legal entity structure of the business, such as private_corporation or sole_proprietorship. Supported values vary by country of incorporation — see Business structures.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :business_structure, String

#countryString?

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

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :country, String

#requested_informationArray<WhopSDK::Models::VerificationUpdateParams::Body::UpdateBusinessVerification::RequestedInformation>?

Answers to items returned in requested_information. Each entry must include the requested item id and exactly one answer payload matching the item's type: value for text, date, or phone; address for address; files for files.



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

optional :requested_information,
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::VerificationUpdateParams::Body::UpdateBusinessVerification::RequestedInformation] }

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {