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

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

Defined Under Namespace

Modules: Kind Classes: 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

#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ Object

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_create_params.rb', line 321

Instance Attribute Details

#addressWhopSDK::Models::VerificationCreateParams::Body::Business::Address?



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

optional :address, -> { WhopSDK::VerificationCreateParams::Body::Business::Address }

#business_nameString?

Legal business name.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

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)


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

optional :business_structure, String

#business_websiteString?

Business website URL. Whop store pages are not accepted.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :business_website, String

#countryString?

Country of incorporation as a two-letter ISO 3166-1 country code.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :country, String

#kindSymbol, ...

Must be business to start a KYB verification.



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

optional :kind, enum: -> { WhopSDK::VerificationCreateParams::Body::Business::Kind }

#place_of_incorporationString?

State or region where the business is incorporated.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :place_of_incorporation, String

#tax_identification_numberString?

EIN. Tokenized in transit and never stored raw.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :tax_identification_number, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {