#[non_exhaustive]pub enum ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod {
Manual,
Unknown(String),
}Expand description
Controls when the funds are captured from the customer’s account.
If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If capture_method is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Manual
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
Source§fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
Returns a duplicate 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 PartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl PartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
Source§fn eq(
&self,
other: &ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod,
) -> bool
fn eq( &self, other: &ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl StructuralPartialEq for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
Auto Trait Implementations§
impl Freeze for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl RefUnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl Send for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl Sync for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl Unpin for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
impl UnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardCaptureMethod
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