Class: Stripe::V2::Core::Accounts::PersonCreateParams::Relationship

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(authorizer: nil, director: nil, executive: nil, legal_guardian: nil, owner: nil, percent_ownership: nil, representative: nil, title: nil) ⇒ Relationship

Returns a new instance of Relationship.



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 277

def initialize(
  authorizer: nil,
  director: nil,
  executive: nil,
  legal_guardian: nil,
  owner: nil,
  percent_ownership: nil,
  representative: nil,
  title: nil
)
  @authorizer = authorizer
  @director = director
  @executive = executive
  @legal_guardian = legal_guardian
  @owner = owner
  @percent_ownership = percent_ownership
  @representative = representative
  @title = title
end

Instance Attribute Details

#authorizerObject

Whether the individual is an authorizer of the Account’s identity.



261
262
263
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 261

def authorizer
  @authorizer
end

#directorObject

Indicates whether the person is a director of the associated legal entity.



263
264
265
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 263

def director
  @director
end

#executiveObject

Indicates whether the person is an executive of the associated legal entity.



265
266
267
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 265

def executive
  @executive
end

Indicates whether the person is a legal guardian of the associated legal entity.



267
268
269
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 267

def legal_guardian
  @legal_guardian
end

#ownerObject

Indicates whether the person is an owner of the associated legal entity.



269
270
271
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 269

def owner
  @owner
end

#percent_ownershipObject

The percentage of ownership the person has in the associated legal entity.



271
272
273
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 271

def percent_ownership
  @percent_ownership
end

#representativeObject

Indicates whether the person is a representative of the associated legal entity.



273
274
275
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 273

def representative
  @representative
end

#titleObject

The title or position the person holds in the associated legal entity.



275
276
277
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 275

def title
  @title
end