Class: Stripe::V2::Core::Accounts::PersonCreateParams::Documents::Passport
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonCreateParams::Documents::Passport
- Defined in:
- lib/stripe/params/v2/core/accounts/person_create_params.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
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`.
-
#type ⇒ Object
The format of the document.
Instance Method Summary collapse
-
#initialize(files: nil, type: nil) ⇒ Passport
constructor
A new instance of Passport.
Methods inherited from RequestParams
Constructor Details
#initialize(files: nil, type: nil) ⇒ Passport
Returns a new instance of Passport.
158 159 160 161 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 158 def initialize(files: nil, type: nil) @files = files @type = type end |
Instance Attribute Details
#files ⇒ Object
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`.
154 155 156 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 154 def files @files end |
#type ⇒ Object
The format of the document. Currently supports ‘files` only.
156 157 158 |
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 156 def type @type end |