pub struct RefundExternalTransactionRequest {
pub full_refund: Option<FullRefund>,
pub partial_refund: Option<PartialRefund>,
pub refund_time: Option<DateTime<Utc>>,
}Expand description
A request to refund an existing external transaction.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§full_refund: Option<FullRefund>A full-amount refund.
partial_refund: Option<PartialRefund>A partial refund.
refund_time: Option<DateTime<Utc>>Required. The time that the transaction was refunded.
Trait Implementations§
Source§impl Clone for RefundExternalTransactionRequest
impl Clone for RefundExternalTransactionRequest
Source§fn clone(&self) -> RefundExternalTransactionRequest
fn clone(&self) -> RefundExternalTransactionRequest
Returns a duplicate 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 moreSource§impl Default for RefundExternalTransactionRequest
impl Default for RefundExternalTransactionRequest
Source§fn default() -> RefundExternalTransactionRequest
fn default() -> RefundExternalTransactionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefundExternalTransactionRequest
impl<'de> Deserialize<'de> for RefundExternalTransactionRequest
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
impl RequestValue for RefundExternalTransactionRequest
Auto Trait Implementations§
impl Freeze for RefundExternalTransactionRequest
impl RefUnwindSafe for RefundExternalTransactionRequest
impl Send for RefundExternalTransactionRequest
impl Sync for RefundExternalTransactionRequest
impl Unpin for RefundExternalTransactionRequest
impl UnwindSafe for RefundExternalTransactionRequest
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