Struct stripe::generated::terminal::terminal_reader::TerminalReaderReaderResourceRefundPaymentAction
source · pub struct TerminalReaderReaderResourceRefundPaymentAction {
pub amount: Option<i64>,
pub charge: Option<Expandable<Charge>>,
pub metadata: Option<Metadata>,
pub payment_intent: Option<Expandable<PaymentIntent>>,
pub reason: Option<TerminalReaderReaderResourceRefundPaymentActionReason>,
pub refund: Option<Expandable<Refund>>,
pub refund_application_fee: Option<bool>,
pub reverse_transfer: Option<bool>,
}
Fields§
§amount: Option<i64>
The amount being refunded.
charge: Option<Expandable<Charge>>
Charge that is being refunded.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
payment_intent: Option<Expandable<PaymentIntent>>
Payment intent that is being refunded.
reason: Option<TerminalReaderReaderResourceRefundPaymentActionReason>
The reason for the refund.
refund: Option<Expandable<Refund>>
Unique identifier for the refund object.
refund_application_fee: Option<bool>
Boolean indicating whether the application fee should be refunded when refunding this charge.
If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
reverse_transfer: Option<bool>
Boolean indicating whether the transfer should be reversed when refunding this charge.
The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
Trait Implementations§
source§impl Clone for TerminalReaderReaderResourceRefundPaymentAction
impl Clone for TerminalReaderReaderResourceRefundPaymentAction
source§fn clone(&self) -> TerminalReaderReaderResourceRefundPaymentAction
fn clone(&self) -> TerminalReaderReaderResourceRefundPaymentAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more