Class: Stripe::AccountPersonListParams::Relationship

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

Returns a new instance of Relationship.



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/stripe/params/account_person_list_params.rb', line 20

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.



8
9
10
# File 'lib/stripe/params/account_person_list_params.rb', line 8

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.



10
11
12
# File 'lib/stripe/params/account_person_list_params.rb', line 10

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.



12
13
14
# File 'lib/stripe/params/account_person_list_params.rb', line 12

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.



14
15
16
# File 'lib/stripe/params/account_person_list_params.rb', line 14

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.



16
17
18
# File 'lib/stripe/params/account_person_list_params.rb', line 16

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.



18
19
20
# File 'lib/stripe/params/account_person_list_params.rb', line 18

def representative
  @representative
end