Class: Stripe::Identity::VerificationSessionCreateParams::RelatedPerson

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/identity/verification_session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, person: nil) ⇒ RelatedPerson

Returns a new instance of RelatedPerson.



56
57
58
59
# File 'lib/stripe/params/identity/verification_session_create_params.rb', line 56

def initialize(account: nil, person: nil)
  @account = 
  @person = person
end

Instance Attribute Details

#accountObject

A token representing a connected account. If provided, the person parameter is also required and must be associated with the account.



52
53
54
# File 'lib/stripe/params/identity/verification_session_create_params.rb', line 52

def 
  @account
end

#personObject

A token referencing a Person resource that this verification is being used to verify.



54
55
56
# File 'lib/stripe/params/identity/verification_session_create_params.rb', line 54

def person
  @person
end