[−][src]Struct paypal_rs::invoice::RefundDetail
Refund details
Fields
type: Option<PaymentType>
The PayPal refund type. Indicates whether the refund was paid through PayPal or externally in the invoicing flow.
refund_id: Option<String>
The ID for a PayPal payment transaction. Required for the PAYPAL payment type.
refund_date: Option<DateTime<Utc>>
The date when the invoice was refunded, in Internet date format.
amount: Option<Money>
The amount to record as refunded. If you omit the amount, the total invoice paid amount is recorded as refunded.
method: PaymentMethod
The payment mode or method through which the invoicer can accept the payments.
Trait Implementations
impl Debug for RefundDetail
[src]
impl<'de> Deserialize<'de> for RefundDetail
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for RefundDetail
[src]
Auto Trait Implementations
impl RefUnwindSafe for RefundDetail
[src]
impl Send for RefundDetail
[src]
impl Sync for RefundDetail
[src]
impl Unpin for RefundDetail
[src]
impl UnwindSafe for RefundDetail
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,