pub struct UpdateIdentityVerificationSession { /* private fields */ }
Expand description
Updates a VerificationSession object.
When the session status is requires_input
, you can use this method to update the
verification check and options.
Implementations§
Source§impl UpdateIdentityVerificationSession
impl UpdateIdentityVerificationSession
Sourcepub fn new(session: impl Into<IdentityVerificationSessionId>) -> Self
pub fn new(session: impl Into<IdentityVerificationSessionId>) -> Self
Construct a new UpdateIdentityVerificationSession
.
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn metadata(self, metadata: impl Into<HashMap<String, String>>) -> Self
pub fn metadata(self, metadata: impl Into<HashMap<String, String>>) -> Self
Set of key-value pairs 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
.
Sourcepub fn options(
self,
options: impl Into<UpdateIdentityVerificationSessionOptions>,
) -> Self
pub fn options( self, options: impl Into<UpdateIdentityVerificationSessionOptions>, ) -> Self
A set of options for the session’s verification checks.
Sourcepub fn provided_details(
self,
provided_details: impl Into<ProvidedDetailsParam>,
) -> Self
pub fn provided_details( self, provided_details: impl Into<ProvidedDetailsParam>, ) -> Self
Details provided about the user being verified. These details may be shown to the user.
Sourcepub fn type_(
self,
type_: impl Into<UpdateIdentityVerificationSessionType>,
) -> Self
pub fn type_( self, type_: impl Into<UpdateIdentityVerificationSessionType>, ) -> Self
The type of verification check to be performed.
Source§impl UpdateIdentityVerificationSession
impl UpdateIdentityVerificationSession
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for UpdateIdentityVerificationSession
impl Clone for UpdateIdentityVerificationSession
Source§fn clone(&self) -> UpdateIdentityVerificationSession
fn clone(&self) -> UpdateIdentityVerificationSession
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more