Struct paypal_rust::resources::payments::RefundCapturedPaymentDto
source · [−]pub struct RefundCapturedPaymentDto {
pub amount: Option<Money>,
pub invoice_id: Option<String>,
pub note_to_payer: Option<String>,
}
Fields
amount: Option<Money>
The amount to refund. To refund a portion of the captured amount, specify an amount. If amount is not specified, an amount equal to captured amount - previous refunds is refunded. The amount must be a positive number and in the same currency as the one in which the payment was captured.
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.
Trait Implementations
sourceimpl Clone for RefundCapturedPaymentDto
impl Clone for RefundCapturedPaymentDto
sourcefn clone(&self) -> RefundCapturedPaymentDto
fn clone(&self) -> RefundCapturedPaymentDto
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 moresourceimpl Debug for RefundCapturedPaymentDto
impl Debug for RefundCapturedPaymentDto
sourceimpl Serialize for RefundCapturedPaymentDto
impl Serialize for RefundCapturedPaymentDto
Auto Trait Implementations
impl RefUnwindSafe for RefundCapturedPaymentDto
impl Send for RefundCapturedPaymentDto
impl Sync for RefundCapturedPaymentDto
impl Unpin for RefundCapturedPaymentDto
impl UnwindSafe for RefundCapturedPaymentDto
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