Class: WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data
- Defined in:
- lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb
Overview
Defined Under Namespace
Modules: Status Classes: BusinessAddress, LinkedCompany, PersonalAddress, Verification
Instance Attribute Summary collapse
-
#business_address ⇒ WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::BusinessAddress?
Registered business address reported by the identity provider.
-
#business_name ⇒ String?
Business entity name.
-
#business_structure ⇒ String?
Reported legal structure of a business profile (e.g. ‘corp`, `llc`).
-
#country ⇒ String?
ISO 3166-1 alpha-3 country code (e.g. ‘USA`, `GBR`).
-
#created_at ⇒ Time
When the identity profile was first created.
-
#date_of_birth ⇒ String?
ISO date (‘YYYY-MM-DD`) reported by the identity provider.
-
#email ⇒ String?
Email address reported by the identity provider.
-
#first_name ⇒ String?
Individual’s first name.
-
#id ⇒ String
The tag of the identity profile (idpf_xxx).
-
#last_name ⇒ String?
Individual’s last name.
-
#linked_companies ⇒ Array<WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::LinkedCompany>
The companies this identity profile is currently linked to.
-
#personal_address ⇒ WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::PersonalAddress?
Residential address reported by the identity provider.
-
#phone ⇒ String?
Phone number reported by the identity provider.
-
#profile_type ⇒ String
Whether this is an ‘individual’ or ‘business’ profile.
-
#status ⇒ Symbol, WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::Status
Derived verification status across all linked verifications.
-
#updated_at ⇒ Time
When the identity profile was last synced from a verification.
-
#verifications ⇒ Array<WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::Verification>
All verification attempts attached to this identity profile, ordered most-recent first.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(city:, country:, line1:, line2:, postal_code:, state:) ⇒ Object
constructor
Residential address reported by the identity provider.
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:, country:, line1:, line2:, postal_code:, state:) ⇒ Object
Residential address reported by the identity provider. Present on ‘individual` profiles.
|
|
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 181
|
Instance Attribute Details
#business_address ⇒ WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::BusinessAddress?
Registered business address reported by the identity provider. Present on ‘business` profiles.
72 73 74 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 72 required :business_address, -> { WhopSDK::IdentityProfileNeedsActionWebhookEvent::Data::BusinessAddress }, nil?: true |
#business_name ⇒ String?
Business entity name. Present on ‘business` profiles.
80 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 80 required :business_name, String, nil?: true |
#business_structure ⇒ String?
Reported legal structure of a business profile (e.g. ‘corp`, `llc`). Provider-specific values; present on `business` profiles.
87 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 87 required :business_structure, String, nil?: true |
#country ⇒ String?
ISO 3166-1 alpha-3 country code (e.g. ‘USA`, `GBR`). For individuals this is the country of citizenship or residence reported by the identity provider; for businesses this is the country of incorporation.
95 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 95 required :country, String, nil?: true |
#created_at ⇒ Time
When the identity profile was first created.
101 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 101 required :created_at, Time |
#date_of_birth ⇒ String?
ISO date (‘YYYY-MM-DD`) reported by the identity provider. Present on `individual` profiles.
108 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 108 required :date_of_birth, String, nil?: true |
#email ⇒ String?
Email address reported by the identity provider. Typically present on ‘individual` profiles.
115 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 115 required :email, String, nil?: true |
#first_name ⇒ String?
Individual’s first name.
121 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 121 required :first_name, String, nil?: true |
#id ⇒ String
The tag of the identity profile (idpf_xxx).
65 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 65 required :id, String |
#last_name ⇒ String?
Individual’s last name.
127 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 127 required :last_name, String, nil?: true |
#linked_companies ⇒ Array<WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::LinkedCompany>
The companies this identity profile is currently linked to. Only populated for direct Whop user sessions; always empty when authenticated via API key, app, or OAuth scope (a single identity can be linked to companies the calling platform is not entitled to see).
136 137 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 136 required :linked_companies, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::IdentityProfileNeedsActionWebhookEvent::Data::LinkedCompany] } |
#personal_address ⇒ WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::PersonalAddress?
Residential address reported by the identity provider. Present on ‘individual` profiles.
144 145 146 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 144 required :personal_address, -> { WhopSDK::IdentityProfileNeedsActionWebhookEvent::Data::PersonalAddress }, nil?: true |
#phone ⇒ String?
Phone number reported by the identity provider. Typically present on ‘individual` profiles.
153 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 153 required :phone, String, nil?: true |
#profile_type ⇒ String
Whether this is an ‘individual’ or ‘business’ profile.
159 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 159 required :profile_type, String |
#status ⇒ Symbol, WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::Status
Derived verification status across all linked verifications.
165 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 165 required :status, enum: -> { WhopSDK::IdentityProfileNeedsActionWebhookEvent::Data::Status } |
#updated_at ⇒ Time
When the identity profile was last synced from a verification.
171 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 171 required :updated_at, Time |
#verifications ⇒ Array<WhopSDK::Models::IdentityProfileNeedsActionWebhookEvent::Data::Verification>
All verification attempts attached to this identity profile, ordered most-recent first.
178 179 |
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 178 required :verifications, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::IdentityProfileNeedsActionWebhookEvent::Data::Verification] } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/identity_profile_needs_action_webhook_event.rb', line 366
|