Enum paypal_rs::orders::Intent [−][src]
pub enum Intent { Capture, Authorize, }
Expand description
The intent to either capture payment immediately or authorize a payment for an order after order creation.
Variants
The merchant intends to capture payment immediately after the customer makes a payment.
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Intent
impl UnwindSafe for Intent