pub enum CreatePaymentIntentOffSession {
OneOff,
Recurring,
Bool(bool),
}
Expand description
Set to true
to indicate that the customer isn’t in your checkout flow during this payment attempt and can’t authenticate.
Use this parameter in scenarios where you collect card details and charge them later.
This parameter can only be used with confirm=true
.
Variants§
Trait Implementations§
Source§impl Clone for CreatePaymentIntentOffSession
impl Clone for CreatePaymentIntentOffSession
Source§fn clone(&self) -> CreatePaymentIntentOffSession
fn clone(&self) -> CreatePaymentIntentOffSession
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 moreimpl Copy for CreatePaymentIntentOffSession
Auto Trait Implementations§
impl Freeze for CreatePaymentIntentOffSession
impl RefUnwindSafe for CreatePaymentIntentOffSession
impl Send for CreatePaymentIntentOffSession
impl Sync for CreatePaymentIntentOffSession
impl Unpin for CreatePaymentIntentOffSession
impl UnwindSafe for CreatePaymentIntentOffSession
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