pub struct RetrochargeEvent {
pub retrocharge_event_type: Option<String>,
pub amazon_order_id: Option<String>,
pub posted_date: Option<String>,
pub base_tax: Option<Box<Currency>>,
pub shipping_tax: Option<Box<Currency>>,
pub marketplace_name: Option<String>,
pub retrocharge_tax_withheld_list: Option<Vec<TaxWithheldComponent>>,
}Expand description
RetrochargeEvent : A retrocharge or retrocharge reversal.
Fields
retrocharge_event_type: Option<String>The type of event. Possible values: * Retrocharge * RetrochargeReversal
amazon_order_id: Option<String>An Amazon-defined identifier for an order.
posted_date: Option<String>base_tax: Option<Box<Currency>>shipping_tax: Option<Box<Currency>>marketplace_name: Option<String>The name of the marketplace where the retrocharge event occurred.
retrocharge_tax_withheld_list: Option<Vec<TaxWithheldComponent>>A list of information about taxes withheld.
Implementations
sourceimpl RetrochargeEvent
impl RetrochargeEvent
sourcepub fn new() -> RetrochargeEvent
pub fn new() -> RetrochargeEvent
A retrocharge or retrocharge reversal.
Trait Implementations
sourceimpl Clone for RetrochargeEvent
impl Clone for RetrochargeEvent
sourcefn clone(&self) -> RetrochargeEvent
fn clone(&self) -> RetrochargeEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RetrochargeEvent
impl Debug for RetrochargeEvent
sourceimpl Default for RetrochargeEvent
impl Default for RetrochargeEvent
sourcefn default() -> RetrochargeEvent
fn default() -> RetrochargeEvent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RetrochargeEvent
impl<'de> Deserialize<'de> for RetrochargeEvent
sourcefn 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
sourceimpl PartialEq<RetrochargeEvent> for RetrochargeEvent
impl PartialEq<RetrochargeEvent> for RetrochargeEvent
sourcefn eq(&self, other: &RetrochargeEvent) -> bool
fn eq(&self, other: &RetrochargeEvent) -> bool
sourceimpl Serialize for RetrochargeEvent
impl Serialize for RetrochargeEvent
impl StructuralPartialEq for RetrochargeEvent
Auto Trait Implementations
impl RefUnwindSafe for RetrochargeEvent
impl Send for RetrochargeEvent
impl Sync for RetrochargeEvent
impl Unpin for RetrochargeEvent
impl UnwindSafe for RetrochargeEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more