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§
source§impl Clone for RefundCapturedPaymentDto
impl Clone for RefundCapturedPaymentDto
source§fn clone(&self) -> RefundCapturedPaymentDto
fn clone(&self) -> RefundCapturedPaymentDto
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more