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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_create_params.rb

Defined Under Namespace

Classes: FrontBack

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(front_back: nil, type: nil) ⇒ PrimaryVerification

Returns a new instance of PrimaryVerification.



291
292
293
294
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 291

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

Instance Attribute Details

#front_backObject

The file upload tokens referring to each side of the document.



287
288
289
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 287

def front_back
  @front_back
end

#typeObject

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



289
290
291
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 289

def type
  @type
end