Class: Stripe::Account::PersonsParams::Relationship

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account.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, representative: nil) ⇒ Relationship

Returns a new instance of Relationship.



4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
# File 'lib/stripe/resources/account.rb', line 4565

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

Instance Attribute Details

#authorizerObject

A filter on the list of people returned based on whether these people are authorizers of the account’s representative.



4553
4554
4555
# File 'lib/stripe/resources/account.rb', line 4553

def authorizer
  @authorizer
end

#directorObject

A filter on the list of people returned based on whether these people are directors of the account’s company.



4555
4556
4557
# File 'lib/stripe/resources/account.rb', line 4555

def director
  @director
end

#executiveObject

A filter on the list of people returned based on whether these people are executives of the account’s company.



4557
4558
4559
# File 'lib/stripe/resources/account.rb', line 4557

def executive
  @executive
end

A filter on the list of people returned based on whether these people are legal guardians of the account’s representative.



4559
4560
4561
# File 'lib/stripe/resources/account.rb', line 4559

def legal_guardian
  @legal_guardian
end

#ownerObject

A filter on the list of people returned based on whether these people are owners of the account’s company.



4561
4562
4563
# File 'lib/stripe/resources/account.rb', line 4561

def owner
  @owner
end

#representativeObject

A filter on the list of people returned based on whether these people are the representative of the account’s company.



4563
4564
4565
# File 'lib/stripe/resources/account.rb', line 4563

def representative
  @representative
end