Class: WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification

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: PersonalAddress, 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

Personal address for the individual.

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 83

Instance Attribute Details

#countryString?

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

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :country, String

#date_of_birthString?

Formatted as YYYY-MM-DD.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :date_of_birth, String

#first_nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :first_name, String

#last_nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :last_name, String

#personal_addressWhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification::PersonalAddress?

Personal address for the individual.



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

optional :personal_address,
-> { WhopSDK::VerificationUpdateParams::Body::UpdateIndividualVerification::PersonalAddress }

#requested_informationArray<WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification::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.



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

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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {