Class: Stripe::Identity::VerificationSessionService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/identity/verification_session_service.rb

Defined Under Namespace

Classes: Options, ProvidedDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, metadata: nil, options: nil, provided_details: nil, type: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



211
212
213
214
215
216
217
# File 'lib/stripe/services/identity/verification_session_service.rb', line 211

def initialize(expand: nil, metadata: nil, options: nil, provided_details: nil, type: nil)
  @expand = expand
  @metadata = 
  @options = options
  @provided_details = provided_details
  @type = type
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



201
202
203
# File 'lib/stripe/services/identity/verification_session_service.rb', line 201

def expand
  @expand
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.



203
204
205
# File 'lib/stripe/services/identity/verification_session_service.rb', line 203

def 
  @metadata
end

#optionsObject

A set of options for the session’s verification checks.



205
206
207
# File 'lib/stripe/services/identity/verification_session_service.rb', line 205

def options
  @options
end

#provided_detailsObject

Details provided about the user being verified. These details may be shown to the user.



207
208
209
# File 'lib/stripe/services/identity/verification_session_service.rb', line 207

def provided_details
  @provided_details
end

#typeObject

The type of [verification check](stripe.com/docs/identity/verification-checks) to be performed.



209
210
211
# File 'lib/stripe/services/identity/verification_session_service.rb', line 209

def type
  @type
end