pub struct AuthorizedPaymentDetails {
pub status: PaymentStatus,
pub status_details: AuthorizationStatusDetails,
pub id: String,
pub amount: Money,
pub invoice_id: String,
pub custom_id: String,
pub seller_protection: SellerProtection,
pub expiration_time: DateTime<Utc>,
pub links: Vec<LinkDescription>,
pub create_time: DateTime<Utc>,
pub update_time: DateTime<Utc>,
}
Expand description
The authorized payment details.
Fields
status: PaymentStatus
The status for the authorized payment.
status_details: AuthorizationStatusDetails
The details of the authorized order pending status.
id: String
The PayPal-generated ID for the authorized payment.
amount: Money
The amount for this authorized payment.
invoice_id: String
The API caller-provided external invoice number for this order. Appears in both the payer’s transaction history and the emails that the payer receives.
custom_id: String
The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
seller_protection: SellerProtection
The level of protection offered as defined by PayPal Seller Protection for Merchants.
expiration_time: DateTime<Utc>
The date and time when the authorized payment expires
links: Vec<LinkDescription>
An array of related HATEOAS links.
create_time: DateTime<Utc>
The date and time when the transaction occurred
update_time: DateTime<Utc>
The date and time when the transaction was last updated
Trait Implementations
sourceimpl Clone for AuthorizedPaymentDetails
impl Clone for AuthorizedPaymentDetails
sourcefn clone(&self) -> AuthorizedPaymentDetails
fn clone(&self) -> AuthorizedPaymentDetails
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 more
sourceimpl Debug for AuthorizedPaymentDetails
impl Debug for AuthorizedPaymentDetails
sourceimpl<'de> Deserialize<'de> for AuthorizedPaymentDetails
impl<'de> Deserialize<'de> for AuthorizedPaymentDetails
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 PartialEq<AuthorizedPaymentDetails> for AuthorizedPaymentDetails
impl PartialEq<AuthorizedPaymentDetails> for AuthorizedPaymentDetails
sourcefn eq(&self, other: &AuthorizedPaymentDetails) -> bool
fn eq(&self, other: &AuthorizedPaymentDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for AuthorizedPaymentDetails
impl Serialize for AuthorizedPaymentDetails
impl Eq for AuthorizedPaymentDetails
impl StructuralEq for AuthorizedPaymentDetails
impl StructuralPartialEq for AuthorizedPaymentDetails
Auto Trait Implementations
impl RefUnwindSafe for AuthorizedPaymentDetails
impl Send for AuthorizedPaymentDetails
impl Sync for AuthorizedPaymentDetails
impl Unpin for AuthorizedPaymentDetails
impl UnwindSafe for AuthorizedPaymentDetails
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.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more