Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::Documents::PrimaryVerification

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_params.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) ⇒ PrimaryVerification

Returns a new instance of PrimaryVerification.



1324
1325
1326
1327
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1324

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.



1320
1321
1322
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1320

def front_back
  @front_back
end

#typeObject

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



1322
1323
1324
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1322

def type
  @type
end