pub struct ConfirmPaymentIntentPaymentMethodOptionsAlma {
pub capture_method: Option<ConfirmPaymentIntentPaymentMethodOptionsAlmaCaptureMethod>,
}Expand description
If this is a alma PaymentMethod, this sub-hash contains details about the Alma payment method options.
Fields§
§capture_method: Option<ConfirmPaymentIntentPaymentMethodOptionsAlmaCaptureMethod>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.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl Clone for ConfirmPaymentIntentPaymentMethodOptionsAlma
Source§fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsAlma
fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsAlma
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 moreAuto Trait Implementations§
impl Freeze for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl RefUnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl Send for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl Sync for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl Unpin for ConfirmPaymentIntentPaymentMethodOptionsAlma
impl UnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsAlma
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