Class: WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification
- 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
-
#country ⇒ String?
Two-letter ISO 3166-1 country code, for example
US,DE, orGB. -
#date_of_birth ⇒ String?
Formatted as
YYYY-MM-DD. - #first_name ⇒ String?
- #last_name ⇒ String?
-
#personal_address ⇒ WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification::PersonalAddress?
Personal address for the individual.
-
#requested_information ⇒ Array<WhopSDK::Models::VerificationUpdateParams::Body::UpdateIndividualVerification::RequestedInformation>?
Answers to items returned in
requested_information.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ Object
constructor
Personal address for the individual.
- #to_hash ⇒ {
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.
|
|
# File 'lib/whop_sdk/models/verification_update_params.rb', line 83
|
Instance Attribute Details
#country ⇒ String?
Two-letter ISO 3166-1 country code, for example US, DE, or GB.
48 |
# File 'lib/whop_sdk/models/verification_update_params.rb', line 48 optional :country, String |
#date_of_birth ⇒ String?
Formatted as YYYY-MM-DD.
54 |
# File 'lib/whop_sdk/models/verification_update_params.rb', line 54 optional :date_of_birth, String |
#first_name ⇒ String?
59 |
# File 'lib/whop_sdk/models/verification_update_params.rb', line 59 optional :first_name, String |
#last_name ⇒ String?
64 |
# File 'lib/whop_sdk/models/verification_update_params.rb', line 64 optional :last_name, String |
#personal_address ⇒ WhopSDK::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_information ⇒ Array<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 ⇒ {
85 |
# File 'sig/whop_sdk/models/verification_update_params.rbs', line 85
def to_hash: -> {
|