pub struct OrdersCustomBatchRequestEntryRefund {
pub amount: Option<Price>,
pub amount_pretax: Option<Price>,
pub amount_tax: Option<Price>,
pub reason: Option<String>,
pub reason_text: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§amount: Option<Price>
Deprecated. Please use amountPretax and amountTax instead.
amount_pretax: Option<Price>
The amount that is refunded. Either amount or amountPretax and amountTax should be filled.
amount_tax: Option<Price>
Tax amount that correspond to refund amount in amountPretax.
reason: Option<String>
The reason for the refund.
reason_text: Option<String>
The explanation of the reason.
Trait Implementations§
source§impl Clone for OrdersCustomBatchRequestEntryRefund
impl Clone for OrdersCustomBatchRequestEntryRefund
source§fn clone(&self) -> OrdersCustomBatchRequestEntryRefund
fn clone(&self) -> OrdersCustomBatchRequestEntryRefund
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 moresource§impl Default for OrdersCustomBatchRequestEntryRefund
impl Default for OrdersCustomBatchRequestEntryRefund
source§fn default() -> OrdersCustomBatchRequestEntryRefund
fn default() -> OrdersCustomBatchRequestEntryRefund
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntryRefund
impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntryRefund
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 Part for OrdersCustomBatchRequestEntryRefund
Auto Trait Implementations§
impl RefUnwindSafe for OrdersCustomBatchRequestEntryRefund
impl Send for OrdersCustomBatchRequestEntryRefund
impl Sync for OrdersCustomBatchRequestEntryRefund
impl Unpin for OrdersCustomBatchRequestEntryRefund
impl UnwindSafe for OrdersCustomBatchRequestEntryRefund
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