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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(files: nil, type: nil) ⇒ Visa

Returns a new instance of Visa.



965
966
967
968
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 965

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](docs.stripe.com/api/persons/update#create_file) with a purpose value of ‘account_requirement`.



961
962
963
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 961

def files
  @files
end

#typeObject

The format of the document. Currently supports ‘files` only.



963
964
965
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 963

def type
  @type
end