Class: Stripe::V2::Core::Accounts::PersonService::CreateParams::Documents::SecondaryVerification
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonService::CreateParams::Documents::SecondaryVerification
- Defined in:
- lib/stripe/services/v2/core/accounts/person_service.rb
Defined Under Namespace
Classes: FrontBack
Instance Attribute Summary collapse
-
#front_back ⇒ Object
The [file upload](docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
-
#type ⇒ Object
The format of the verification document.
Instance Method Summary collapse
-
#initialize(front_back: nil, type: nil) ⇒ SecondaryVerification
constructor
A new instance of SecondaryVerification.
Methods inherited from RequestParams
Constructor Details
#initialize(front_back: nil, type: nil) ⇒ SecondaryVerification
Returns a new instance of SecondaryVerification.
205 206 207 208 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 205 def initialize(front_back: nil, type: nil) @front_back = front_back @type = type end |
Instance Attribute Details
#front_back ⇒ Object
The [file upload](docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
201 202 203 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 201 def front_back @front_back end |
#type ⇒ Object
The format of the verification document. Currently supports ‘front_back` only.
203 204 205 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 203 def type @type end |