Enum paypal_rs::orders::AuthorizationStatus[][src]

pub enum AuthorizationStatus {
    Created,
    Captured,
    Denied,
    Expired,
    PartiallyExpired,
    PartiallyCaptured,
    Voided,
    Pending,
}
Expand description

The status of the payment authorization.

Variants

Created

The authorized payment is created. No captured payments have been made for this authorized payment.

Captured

The authorized payment has one or more captures against it. The sum of these captured payments is greater than the amount of the original authorized payment.

Denied

PayPal cannot authorize funds for this authorized payment.

Expired

The authorized payment has expired.

PartiallyExpired

A captured payment was made for the authorized payment for an amount that is less than the amount of the original authorized payment.

PartiallyCaptured

The payment which was authorized for an amount that is less than the originally requested amount.

Voided

The authorized payment was voided. No more captured payments can be made against this authorized payment.

Pending

The created authorization is in pending state. For more information, see status.details.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.