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 moresource§impl Default for TerminalReaderReaderResourceRefundPaymentAction
impl Default for TerminalReaderReaderResourceRefundPaymentAction
source§fn default() -> TerminalReaderReaderResourceRefundPaymentAction
fn default() -> TerminalReaderReaderResourceRefundPaymentAction
source§impl<'de> Deserialize<'de> for TerminalReaderReaderResourceRefundPaymentAction
impl<'de> Deserialize<'de> for TerminalReaderReaderResourceRefundPaymentAction
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>,
Auto Trait Implementations§
impl Freeze for TerminalReaderReaderResourceRefundPaymentAction
impl RefUnwindSafe for TerminalReaderReaderResourceRefundPaymentAction
impl Send for TerminalReaderReaderResourceRefundPaymentAction
impl Sync for TerminalReaderReaderResourceRefundPaymentAction
impl Unpin for TerminalReaderReaderResourceRefundPaymentAction
impl UnwindSafe for TerminalReaderReaderResourceRefundPaymentAction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)