Class: WhopSDK::Models::PayoutAccountRetrieveResponse::BusinessRepresentative

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

Overview

See Also:

  • WhopSDK::Models::PayoutAccountRetrieveResponse#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



113
# File 'sig/whop_sdk/models/payout_account_retrieve_response.rbs', line 113

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)


143
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 143

required :date_of_birth, String, nil?: true

#first_nameString?

The first name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


149
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 149

required :first_name, String, nil?: true

#last_nameString?

The last name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


155
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 155

required :last_name, String, nil?: true

#middle_nameString?

The middle name of the business representative.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


161
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 161

required :middle_name, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


120
# File 'sig/whop_sdk/models/payout_account_retrieve_response.rbs', line 120

def to_hash: -> {