pub enum OrderStatus {
Created,
Saved,
Approved,
Voided,
Completed,
PayerActionRequired,
}
Variants§
Created
The order was created with the specified context.
Saved
The order was saved and persisted. The order status continues to be in progress until a capture is made with
final_capture = true
for all purchase units within the order.
Approved
The customer approved the payment through the PayPal wallet or another form of guest or unbranded payment. For example, a card, bank account, or so on.
Voided
All purchase units in the order are voided.
Completed
The payment was authorized or the authorized payment was captured for the order.
PayerActionRequired
The order requires an action from the payer (e.g. 3DS authentication). Redirect the payer to the “rel”:“payer-action” HATEOAS link returned as part of the response prior to authorizing or capturing the order.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for OrderStatus
impl AsRef<str> for OrderStatus
Source§impl Clone for OrderStatus
impl Clone for OrderStatus
Source§fn clone(&self) -> OrderStatus
fn clone(&self) -> OrderStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrderStatus
impl Debug for OrderStatus
Source§impl<'de> Deserialize<'de> for OrderStatus
impl<'de> Deserialize<'de> for OrderStatus
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 OrderStatus
impl Display for OrderStatus
Source§impl FromStr for OrderStatus
impl FromStr for OrderStatus
Source§impl PartialEq for OrderStatus
impl PartialEq for OrderStatus
Source§impl Serialize for OrderStatus
impl Serialize for OrderStatus
impl Copy for OrderStatus
impl Eq for OrderStatus
impl StructuralPartialEq for OrderStatus
Auto Trait Implementations§
impl Freeze for OrderStatus
impl RefUnwindSafe for OrderStatus
impl Send for OrderStatus
impl Sync for OrderStatus
impl Unpin for OrderStatus
impl UnwindSafe for OrderStatus
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.