Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::BusinessDetails::Documents::ProofOfRegistration
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountTokenCreateParams::Identity::BusinessDetails::Documents::ProofOfRegistration
- Defined in:
- lib/stripe/params/v2/core/account_token_create_params.rb
Defined Under Namespace
Classes: Signer
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`.
-
#signer ⇒ Object
Person that is signing the document.
-
#type ⇒ Object
The format of the document.
Instance Method Summary collapse
-
#initialize(files: nil, signer: nil, type: nil) ⇒ ProofOfRegistration
constructor
A new instance of ProofOfRegistration.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(files: nil, signer: nil, type: nil) ⇒ ProofOfRegistration
Returns a new instance of ProofOfRegistration.
274 275 276 277 278 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 274 def initialize(files: nil, signer: nil, type: nil) @files = files @signer = signer @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`.
268 269 270 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 268 def files @files end |
#signer ⇒ Object
Person that is signing the document.
270 271 272 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 270 def signer @signer end |
#type ⇒ Object
The format of the document. Currently supports ‘files` only.
272 273 274 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 272 def type @type end |