Class: Stripe::V2::Core::Accounts::PersonService::CreateParams::Documents::SecondaryVerification

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/accounts/person_service.rb

Defined Under Namespace

Classes: FrontBack

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(front_back: nil, type: nil) ⇒ SecondaryVerification

Returns a new instance of SecondaryVerification.



214
215
216
217
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 214

def initialize(front_back: nil, type: nil)
  @front_back = front_back
  @type = type
end

Instance Attribute Details

#front_backObject

The [file upload](docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.



210
211
212
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 210

def front_back
  @front_back
end

#typeObject

The format of the verification document. Currently supports ‘front_back` only.



212
213
214
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 212

def type
  @type
end