Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::Documents::CompanyLicense
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::Documents::CompanyLicense
- Defined in:
- lib/stripe/params/v2/core/account_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) ⇒ CompanyLicense
constructor
A new instance of CompanyLicense.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(files: nil, type: nil) ⇒ CompanyLicense
Returns a new instance of CompanyLicense.
1519 1520 1521 1522 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1519 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`.
1515 1516 1517 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1515 def files @files end |
#type ⇒ Object
The format of the document. Currently supports ‘files` only.
1517 1518 1519 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1517 def type @type end |