Class: WhopSDK::Models::VerificationCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::VerificationCreateResponse
- Defined in:
- lib/whop_sdk/models/verification_create_response.rb,
sig/whop_sdk/models/verification_create_response.rbs
Overview
Defined Under Namespace
Modules: Kind, Status Classes: Address, RequestedInformation, RequiredDocument
Instance Attribute Summary collapse
-
#address ⇒ WhopSDK::Models::VerificationCreateResponse::Address?
Address on the verification profile.
-
#business_name ⇒ String?
Legal business name.
-
#business_structure ⇒ String?
Legal entity structure of the business, such as
private_corporationorsole_proprietorship. -
#country ⇒ String?
Two-letter ISO 3166-1 country code, for example
US,DE, orGB. -
#created_at ⇒ String?
When the verification profile was created, as an ISO 8601 timestamp.
-
#date_of_birth ⇒ String?
Formatted as
YYYY-MM-DD. - #first_name ⇒ String?
-
#id ⇒ String?
Verification profile ID, prefixed
idpf_. - #kind ⇒ Symbol, ...
- #last_name ⇒ String?
-
#requested_information ⇒ Array<WhopSDK::Models::VerificationCreateResponse::RequestedInformation>?
Fields or documents Whop still needs before review can continue.
-
#required_documents ⇒ Array<WhopSDK::Models::VerificationCreateResponse::RequiredDocument>?
Documents for a document-upload verification and their progress.
-
#session_url ⇒ String?
Hosted verification session URL for the user to complete identity checks.
-
#status ⇒ Symbol, ...
Current verification state.
-
#updated_at ⇒ String?
When the verification profile was last updated, as an ISO 8601 timestamp.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category: nil, is_optional: nil, kind: nil, label: nil, multiple: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see RequestedInformation::RequestedFile for more details.
- #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(category: nil, is_optional: nil, kind: nil, label: nil, multiple: nil) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::VerificationCreateResponse::RequestedInformation::RequestedFile for more details.
|
|
# File 'lib/whop_sdk/models/verification_create_response.rb', line 107
|
Instance Attribute Details
#address ⇒ WhopSDK::Models::VerificationCreateResponse::Address?
Address on the verification profile. null when no address is set.
17 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 17 optional :address, -> { WhopSDK::Models::VerificationCreateResponse::Address }, nil?: true |
#business_name ⇒ String?
Legal business name.
23 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 23 optional :business_name, String, nil?: true |
#business_structure ⇒ String?
Legal entity structure of the business, such as private_corporation or
sole_proprietorship. Supported values vary by country of incorporation — see
Business structures.
31 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 31 optional :business_structure, String, nil?: true |
#country ⇒ String?
Two-letter ISO 3166-1 country code, for example US, DE, or GB.
37 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 37 optional :country, String, nil?: true |
#created_at ⇒ String?
When the verification profile was created, as an ISO 8601 timestamp.
43 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 43 optional :created_at, String |
#date_of_birth ⇒ String?
Formatted as YYYY-MM-DD.
49 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 49 optional :date_of_birth, String, nil?: true |
#first_name ⇒ String?
54 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 54 optional :first_name, String, nil?: true |
#id ⇒ String?
Verification profile ID, prefixed idpf_.
11 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 11 optional :id, String |
#kind ⇒ Symbol, ...
59 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 59 optional :kind, enum: -> { WhopSDK::Models::VerificationCreateResponse::Kind } |
#last_name ⇒ String?
64 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 64 optional :last_name, String, nil?: true |
#requested_information ⇒ Array<WhopSDK::Models::VerificationCreateResponse::RequestedInformation>?
Fields or documents Whop still needs before review can continue. Submit answers with the Update Verification endpoint.
71 72 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 71 optional :requested_information, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::VerificationCreateResponse::RequestedInformation] } |
#required_documents ⇒ Array<WhopSDK::Models::VerificationCreateResponse::RequiredDocument>?
Documents for a document-upload verification and their progress. Present only on
verifications created by sending documents. pending_upload documents were
not accepted yet — send the full set again with another Create Verification
call.
81 82 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 81 optional :required_documents, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::VerificationCreateResponse::RequiredDocument] } |
#session_url ⇒ String?
Hosted verification session URL for the user to complete identity checks. Expires 7 days after creation.
89 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 89 optional :session_url, String, nil?: true |
#status ⇒ Symbol, ...
Current verification state. not_started before any session has been created;
pending while a session is in progress; action_required when items in
requested_information need answers before review can continue; approved once
verification succeeds; rejected if it fails. Call the Create Verification
endpoint again to start a new session.
99 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 99 optional :status, enum: -> { WhopSDK::Models::VerificationCreateResponse::Status } |
#updated_at ⇒ String?
When the verification profile was last updated, as an ISO 8601 timestamp.
105 |
# File 'lib/whop_sdk/models/verification_create_response.rb', line 105 optional :updated_at, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/verification_create_response.rb', line 201
|
Instance Method Details
#to_hash ⇒ {
93 |
# File 'sig/whop_sdk/models/verification_create_response.rbs', line 93
def to_hash: -> {
|