Class: WhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb

Overview

See Also:

Defined Under Namespace

Classes: Address, BusinessRepresentative, LatestVerification

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(date_of_birth:, first_name:, last_name:, middle_name:) ⇒ Object

Some parameter documentations has been truncated, see BusinessRepresentative for more details.

The business representative for this payout account

Parameters:

  • date_of_birth (String, nil)

    The date of birth of the business representative in ISO 8601 format (YYYY-MM-DD)

  • first_name (String, nil)

    The first name of the business representative.

  • last_name (String, nil)

    The last name of the business representative.

  • middle_name (String, nil)

    The middle name of the business representative.



# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 110

Instance Attribute Details

#addressWhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent::Data::Address?

The physical address associated with this payout account



67
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 67

required :address, -> { WhopSDK::PayoutAccountStatusUpdatedWebhookEvent::Data::Address }, nil?: true

#business_nameString?

The company’s legal name

Returns:

  • (String, nil)


73
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 73

required :business_name, String, nil?: true

#business_representativeWhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent::Data::BusinessRepresentative?

The business representative for this payout account



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

required :business_representative,
-> { WhopSDK::PayoutAccountStatusUpdatedWebhookEvent::Data::BusinessRepresentative },
nil?: true

#emailString?

The email address of the representative

Returns:

  • (String, nil)


87
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 87

required :email, String, nil?: true

#idString

The unique identifier for the payout account.

Returns:

  • (String)


61
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 61

required :id, String

#latest_verificationWhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent::Data::LatestVerification?

The latest verification for the connected account.



93
94
95
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 93

required :latest_verification,
-> { WhopSDK::PayoutAccountStatusUpdatedWebhookEvent::Data::LatestVerification },
nil?: true

#phoneString?

The business representative’s phone

Returns:

  • (String, nil)


101
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 101

required :phone, String, nil?: true

#statusSymbol, ...

The granular calculated statuses reflecting payout account KYC and withdrawal readiness.



108
# File 'lib/whop_sdk/models/payout_account_status_updated_webhook_event.rb', line 108

required :status, enum: -> { WhopSDK::PayoutAccountCalculatedStatuses }, nil?: true