Class: Stripe::AccountCreateParams::Company::Verification::Document

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(back: nil, front: nil) ⇒ Document



1242
1243
1244
1245
# File 'lib/stripe/params/account_create_params.rb', line 1242

def initialize(back: nil, front: nil)
  @back = back
  @front = front
end

Instance Attribute Details

#backObject

The back of a document returned by a file upload 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.



1238
1239
1240
# File 'lib/stripe/params/account_create_params.rb', line 1238

def back
  @back
end

#frontObject

The front of a document returned by a file upload 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.



1240
1241
1242
# File 'lib/stripe/params/account_create_params.rb', line 1240

def front
  @front
end