Class: Stripe::V2::Core::AccountCreateParams::Identity::Individual::Documents::Visa

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/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(files: nil, type: nil) ⇒ Visa

Returns a new instance of Visa.



2263
2264
2265
2266
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2263

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

Instance Attribute Details

#filesObject

One or more document IDs returned by a file upload with a purpose value of account_requirement.



2259
2260
2261
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2259

def files
  @files
end

#typeObject

The format of the document. Currently supports files only.



2261
2262
2263
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2261

def type
  @type
end