[][src]Enum paypal_rs::orders::Intent

pub enum Intent {
    Capture,
    Authorize,
}

The intent to either capture payment immediately or authorize a payment for an order after order creation.

Variants

Capture

The merchant intends to capture payment immediately after the customer makes a payment.

Authorize

The merchant intends to authorize a payment and place funds on hold after the customer makes a payment. Authorized payments are guaranteed for up to three days but are available to capture for up to 29 days. After the three-day honor period, the original authorized payment expires and you must re-authorize the payment. You must make a separate request to capture payments on demand. This intent is not supported when you have more than one purchase_unit within your order.

Trait Implementations

impl Debug for Intent[src]

impl Default for Intent[src]

Auto Trait Implementations

impl RefUnwindSafe for Intent

impl Send for Intent

impl Sync for Intent

impl Unpin for Intent

impl UnwindSafe for Intent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.