Class: Stripe::Identity::VerificationSessionCreateParams::RelatedPerson
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Identity::VerificationSessionCreateParams::RelatedPerson
- Defined in:
- lib/stripe/params/identity/verification_session_create_params.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
A token representing a connected account.
-
#person ⇒ Object
A token referencing a Person resource that this verification is being used to verify.
Instance Method Summary collapse
-
#initialize(account: nil, person: nil) ⇒ RelatedPerson
constructor
A new instance of RelatedPerson.
Methods inherited from RequestParams
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 = account @person = person end |
Instance Attribute Details
#account ⇒ Object
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 @account end |
#person ⇒ Object
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 |