pub struct RefundCapturedPaymentResponse {
pub id: String,
pub status: RefundStatus,
pub links: Option<Vec<LinkDescription>>,
pub amount: Option<Money>,
pub create_time: Option<String>,
pub invoice_id: Option<String>,
pub note_to_payer: Option<String>,
pub seller_payable_breakdown: Option<SellerPayableBreakdown>,
pub status_details: Option<RefundStatusDetails>,
pub update_time: Option<String>,
}
Fields§
§id: String
The PayPal-generated ID for the refund.
status: RefundStatus
The status of the refund.
links: Option<Vec<LinkDescription>>
An array of related HATEOAS links.
amount: Option<Money>
The amount that the payee refunded to the payer.
create_time: Option<String>
The date and time when the transaction occurred, in Internet date and time format.
invoice_id: Option<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.
note_to_payer: Option<String>
The reason for the refund. Appears in both the payer’s transaction history and the emails that the payer receives.
seller_payable_breakdown: Option<SellerPayableBreakdown>
The breakdown of the refund.
status_details: Option<RefundStatusDetails>
The details of the refund status.
update_time: Option<String>
The date and time when the transaction was last updated, in Internet date and time format.
Trait Implementations§
Source§impl Clone for RefundCapturedPaymentResponse
impl Clone for RefundCapturedPaymentResponse
Source§fn clone(&self) -> RefundCapturedPaymentResponse
fn clone(&self) -> RefundCapturedPaymentResponse
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<'de> Deserialize<'de> for RefundCapturedPaymentResponse
impl<'de> Deserialize<'de> for RefundCapturedPaymentResponse
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
Auto Trait Implementations§
impl Freeze for RefundCapturedPaymentResponse
impl RefUnwindSafe for RefundCapturedPaymentResponse
impl Send for RefundCapturedPaymentResponse
impl Sync for RefundCapturedPaymentResponse
impl Unpin for RefundCapturedPaymentResponse
impl UnwindSafe for RefundCapturedPaymentResponse
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