Struct stripe::generated::core::payment_intent::PaymentIntentNextAction
source · pub struct PaymentIntentNextAction {Show 18 fields
pub alipay_handle_redirect: Option<PaymentIntentNextActionAlipayHandleRedirect>,
pub boleto_display_details: Option<PaymentIntentNextActionBoleto>,
pub card_await_notification: Option<PaymentIntentNextActionCardAwaitNotification>,
pub cashapp_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>,
pub display_bank_transfer_instructions: Option<PaymentIntentNextActionDisplayBankTransferInstructions>,
pub konbini_display_details: Option<PaymentIntentNextActionKonbini>,
pub oxxo_display_details: Option<PaymentIntentNextActionDisplayOxxoDetails>,
pub paynow_display_qr_code: Option<PaymentIntentNextActionPaynowDisplayQrCode>,
pub pix_display_qr_code: Option<PaymentIntentNextActionPixDisplayQrCode>,
pub promptpay_display_qr_code: Option<PaymentIntentNextActionPromptpayDisplayQrCode>,
pub redirect_to_url: Option<PaymentIntentNextActionRedirectToUrl>,
pub swish_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode>,
pub type_: String,
pub use_stripe_sdk: Option<Value>,
pub verify_with_microdeposits: Option<PaymentIntentNextActionVerifyWithMicrodeposits>,
pub wechat_pay_display_qr_code: Option<PaymentIntentNextActionWechatPayDisplayQrCode>,
pub wechat_pay_redirect_to_android_app: Option<PaymentIntentNextActionWechatPayRedirectToAndroidApp>,
pub wechat_pay_redirect_to_ios_app: Option<PaymentIntentNextActionWechatPayRedirectToIosApp>,
}
Fields§
§alipay_handle_redirect: Option<PaymentIntentNextActionAlipayHandleRedirect>
§boleto_display_details: Option<PaymentIntentNextActionBoleto>
§card_await_notification: Option<PaymentIntentNextActionCardAwaitNotification>
§cashapp_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>
§display_bank_transfer_instructions: Option<PaymentIntentNextActionDisplayBankTransferInstructions>
§konbini_display_details: Option<PaymentIntentNextActionKonbini>
§oxxo_display_details: Option<PaymentIntentNextActionDisplayOxxoDetails>
§paynow_display_qr_code: Option<PaymentIntentNextActionPaynowDisplayQrCode>
§pix_display_qr_code: Option<PaymentIntentNextActionPixDisplayQrCode>
§promptpay_display_qr_code: Option<PaymentIntentNextActionPromptpayDisplayQrCode>
§redirect_to_url: Option<PaymentIntentNextActionRedirectToUrl>
§swish_handle_redirect_or_display_qr_code: Option<PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode>
§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 PaymentIntent 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<PaymentIntentNextActionVerifyWithMicrodeposits>
§wechat_pay_display_qr_code: Option<PaymentIntentNextActionWechatPayDisplayQrCode>
§wechat_pay_redirect_to_android_app: Option<PaymentIntentNextActionWechatPayRedirectToAndroidApp>
§wechat_pay_redirect_to_ios_app: Option<PaymentIntentNextActionWechatPayRedirectToIosApp>
Trait Implementations§
source§impl Clone for PaymentIntentNextAction
impl Clone for PaymentIntentNextAction
source§fn clone(&self) -> PaymentIntentNextAction
fn clone(&self) -> PaymentIntentNextAction
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 PaymentIntentNextAction
impl Debug for PaymentIntentNextAction
source§impl Default for PaymentIntentNextAction
impl Default for PaymentIntentNextAction
source§fn default() -> PaymentIntentNextAction
fn default() -> PaymentIntentNextAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentIntentNextAction
impl<'de> Deserialize<'de> for PaymentIntentNextAction
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 PaymentIntentNextAction
impl RefUnwindSafe for PaymentIntentNextAction
impl Send for PaymentIntentNextAction
impl Sync for PaymentIntentNextAction
impl Unpin for PaymentIntentNextAction
impl UnwindSafe for PaymentIntentNextAction
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