Struct stripe::SetupIntentNextAction
source · pub struct SetupIntentNextAction {
pub cashapp_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>,
pub redirect_to_url: Option<SetupIntentNextActionRedirectToUrl>,
pub type_: String,
pub use_stripe_sdk: Option<Value>,
pub verify_with_microdeposits: Option<SetupIntentNextActionVerifyWithMicrodeposits>,
}
Fields§
§cashapp_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>
§redirect_to_url: Option<SetupIntentNextActionRedirectToUrl>
§type_: String
Type of the next action to perform, one of redirect_to_url
, use_stripe_sdk
, alipay_handle_redirect
, oxxo_display_details
, or verify_with_microdeposits
.
use_stripe_sdk: Option<Value>
When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows.
The shape of the contents is subject to change and is only intended to be used by Stripe.js.
verify_with_microdeposits: Option<SetupIntentNextActionVerifyWithMicrodeposits>
Trait Implementations§
source§impl Clone for SetupIntentNextAction
impl Clone for SetupIntentNextAction
source§fn clone(&self) -> SetupIntentNextAction
fn clone(&self) -> SetupIntentNextAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetupIntentNextAction
impl Debug for SetupIntentNextAction
source§impl Default for SetupIntentNextAction
impl Default for SetupIntentNextAction
source§fn default() -> SetupIntentNextAction
fn default() -> SetupIntentNextAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetupIntentNextAction
impl<'de> Deserialize<'de> for SetupIntentNextAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetupIntentNextAction
impl RefUnwindSafe for SetupIntentNextAction
impl Send for SetupIntentNextAction
impl Sync for SetupIntentNextAction
impl Unpin for SetupIntentNextAction
impl UnwindSafe for SetupIntentNextAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more