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§
Source§impl AsRef<str> for ProcessingInstruction
impl AsRef<str> for ProcessingInstruction
Source§impl Clone for ProcessingInstruction
impl Clone for ProcessingInstruction
Source§fn clone(&self) -> ProcessingInstruction
fn clone(&self) -> ProcessingInstruction
Returns a copy 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 moreSource§impl Debug for ProcessingInstruction
impl Debug for ProcessingInstruction
Source§impl<'de> Deserialize<'de> for ProcessingInstruction
impl<'de> Deserialize<'de> for ProcessingInstruction
Source§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
Source§impl Display for ProcessingInstruction
impl Display for ProcessingInstruction
Source§impl PartialEq for ProcessingInstruction
impl PartialEq for ProcessingInstruction
Source§impl Serialize for ProcessingInstruction
impl Serialize for ProcessingInstruction
impl Copy for ProcessingInstruction
impl Eq for ProcessingInstruction
impl StructuralPartialEq for ProcessingInstruction
Auto Trait Implementations§
impl Freeze for ProcessingInstruction
impl RefUnwindSafe for ProcessingInstruction
impl Send for ProcessingInstruction
impl Sync for ProcessingInstruction
impl Unpin for ProcessingInstruction
impl UnwindSafe for ProcessingInstruction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.