Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::Attestations::PersonsProvided

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(directors: nil, executives: nil, owners: nil, ownership_exemption_reason: nil) ⇒ PersonsProvided

Returns a new instance of PersonsProvided.



38
39
40
41
42
43
44
45
46
47
48
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 38

def initialize(
  directors: nil,
  executives: nil,
  owners: nil,
  ownership_exemption_reason: nil
)
  @directors = directors
  @executives = executives
  @owners = owners
  @ownership_exemption_reason = ownership_exemption_reason
end

Instance Attribute Details

#directorsObject

Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](docs.stripe.com/api/v2/core/accounts/createperson).



30
31
32
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 30

def directors
  @directors
end

#executivesObject

Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](docs.stripe.com/api/v2/core/accounts/createperson).



32
33
34
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 32

def executives
  @executives
end

#ownersObject

Whether the company’s owners have been provided. Set this Boolean to true after creating all the company’s owners with the [Persons API](docs.stripe.com/api/v2/core/accounts/createperson).



34
35
36
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 34

def owners
  @owners
end

#ownership_exemption_reasonObject

Reason for why the company is exempt from providing ownership information.



36
37
38
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 36

def ownership_exemption_reason
  @ownership_exemption_reason
end