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

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

Overview

See Also:

  • WhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent::Data#business_representative

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

#initializeObject



154
# File 'sig/whop_sdk/models/payout_account_status_updated_webhook_event.rbs', line 154

def initialize: (

Instance Attribute Details

#date_of_birthString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :date_of_birth, String, nil?: true

#first_nameString?

The first name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :first_name, String, nil?: true

#last_nameString?

The last name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :last_name, String, nil?: true

#middle_nameString?

The middle name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :middle_name, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


161
# File 'sig/whop_sdk/models/payout_account_status_updated_webhook_event.rbs', line 161

def to_hash: -> {