Class: Stripe::TokenService::CreateParams::Person::Verification::AdditionalDocument
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenService::CreateParams::Person::Verification::AdditionalDocument
- Defined in:
- lib/stripe/services/token_service.rb
Instance Attribute Summary collapse
-
#back ⇒ Object
The back of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
-
#front ⇒ Object
The front of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
Instance Method Summary collapse
-
#initialize(back: nil, front: nil) ⇒ AdditionalDocument
constructor
A new instance of AdditionalDocument.
Methods inherited from RequestParams
Constructor Details
#initialize(back: nil, front: nil) ⇒ AdditionalDocument
Returns a new instance of AdditionalDocument.
963 964 965 966 |
# File 'lib/stripe/services/token_service.rb', line 963 def initialize(back: nil, front: nil) @back = back @front = front end |
Instance Attribute Details
#back ⇒ Object
The back of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`. 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.
959 960 961 |
# File 'lib/stripe/services/token_service.rb', line 959 def back @back end |
#front ⇒ Object
The front of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`. 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.
961 962 963 |
# File 'lib/stripe/services/token_service.rb', line 961 def front @front end |