pub enum ProcessingInstruction {
OrderCompleteOnPaymentApproval,
NoInstruction,
}
Expand description
The instruction to process an order.
Variants
OrderCompleteOnPaymentApproval
API Caller expects the Order to be auto completed (i.e. for PayPal to authorize or capture depending on the intent) on completion of payer approval. This option is not relevant for payment_source that typically do not require a payer approval or interaction. This option is currently only available for the following payment_source: Alipay, Bancontact, BLIK, boletobancario, eps, giropay, GrabPay, iDEAL, Multibanco, MyBank, OXXO, P24, PayU, PUI, SafetyPay, SatisPay, Sofort, Trustly, Verkkopankki, WeChat Pay
NoInstruction
The API caller intends to authorize v2/checkout/orders/id/authorize or capture v2/checkout/orders/id/capture after the payer approves the order.
Implementations
Trait Implementations
sourceimpl AsRef<str> for ProcessingInstruction
impl AsRef<str> for ProcessingInstruction
sourceimpl Clone for ProcessingInstruction
impl Clone for ProcessingInstruction
sourcefn clone(&self) -> ProcessingInstruction
fn clone(&self) -> ProcessingInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProcessingInstruction
impl Debug for ProcessingInstruction
sourceimpl<'de> Deserialize<'de> for ProcessingInstruction
impl<'de> Deserialize<'de> for ProcessingInstruction
sourcefn 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
sourceimpl Display for ProcessingInstruction
impl Display for ProcessingInstruction
sourceimpl PartialEq<ProcessingInstruction> for ProcessingInstruction
impl PartialEq<ProcessingInstruction> for ProcessingInstruction
sourcefn eq(&self, other: &ProcessingInstruction) -> bool
fn eq(&self, other: &ProcessingInstruction) -> bool
sourceimpl Serialize for ProcessingInstruction
impl Serialize for ProcessingInstruction
impl Copy for ProcessingInstruction
impl Eq for ProcessingInstruction
impl StructuralEq for ProcessingInstruction
impl StructuralPartialEq for ProcessingInstruction
Auto Trait Implementations
impl RefUnwindSafe for ProcessingInstruction
impl Send for ProcessingInstruction
impl Sync for ProcessingInstruction
impl Unpin for ProcessingInstruction
impl UnwindSafe for ProcessingInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.