diff --git a/src/resources/setup_intent_ext.rs b/src/resources/setup_intent_ext.rs index 1d89ec6c7..7fdf31ef4 100644 --- a/src/resources/setup_intent_ext.rs +++ b/src/resources/setup_intent_ext.rs @@ -4,6 +4,9 @@ use crate::client::{Client, Response}; use crate::resources::SetupIntent; use crate::{SetupIntentCancellationReason, SetupIntentId}; +/// The set of parameters that can be used when confirming a setup_intent object. +/// +/// For more details see #[derive(Clone, Debug, Serialize)] pub struct ConfirmSetupIntent { /// The client secret if on the client side @@ -14,11 +17,11 @@ pub struct ConfirmSetupIntent { #[serde(skip_serializing_if = "Option::is_none")] pub payment_method: Option, - //Mandate data and payment method options not implemented. If you want - //something better, create an issue and lets fix - /// Where to redirect the user after they log out of their dashboard. + // Mandate data and payment method options not implemented. If you want + // something better, create an issue and lets fix + /// The URL to redirect your customer back to after they authenticate on the payment method’s app or site. #[serde(skip_serializing_if = "Option::is_none")] - pub redirect_url: Option, + pub return_url: Option, } /// The set of parameters that can be used when canceling a setup_intent object.