Class: Stripe::V2::Core::Accounts::PersonCreateParams::Documents::PrimaryVerification
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonCreateParams::Documents::PrimaryVerification
- Defined in:
- lib/stripe/params/v2/core/accounts/person_create_params.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) ⇒ PrimaryVerification
constructor
A new instance of PrimaryVerification.
Methods inherited from RequestParams
Constructor Details
#initialize(front_back: nil, type: nil) ⇒ PrimaryVerification
Returns a new instance of PrimaryVerification.
181 182 183 184 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 181 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.
177 178 179 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 177 def front_back @front_back end |
#type ⇒ Object
The format of the verification document. Currently supports ‘front_back` only.
179 180 181 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 179 def type @type end |