Class: Stripe::TokenService::CreateParams::Account::Company::Verification::Document
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenService::CreateParams::Account::Company::Verification::Document
- Defined in:
- lib/stripe/services/token_service.rb
Instance Attribute Summary collapse
-
#back ⇒ Object
The back of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`.
-
#front ⇒ Object
The front of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`.
Instance Method Summary collapse
-
#initialize(back: nil, front: nil) ⇒ Document
constructor
A new instance of Document.
Methods inherited from RequestParams
Constructor Details
#initialize(back: nil, front: nil) ⇒ Document
Returns a new instance of Document.
171 172 173 174 |
# File 'lib/stripe/services/token_service.rb', line 171 def initialize(back: nil, front: nil) @back = back @front = front end |
Instance Attribute Details
#back ⇒ Object
The back of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
167 168 169 |
# File 'lib/stripe/services/token_service.rb', line 167 def back @back end |
#front ⇒ Object
The front of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
169 170 171 |
# File 'lib/stripe/services/token_service.rb', line 169 def front @front end |