Struct amazon_sp_finances::models::shipment_item::ShipmentItem
source · [−]pub struct ShipmentItem {Show 13 fields
pub seller_sku: Option<String>,
pub order_item_id: Option<String>,
pub order_adjustment_item_id: Option<String>,
pub quantity_shipped: Option<i32>,
pub item_charge_list: Option<Vec<ChargeComponent>>,
pub item_charge_adjustment_list: Option<Vec<ChargeComponent>>,
pub item_fee_list: Option<Vec<FeeComponent>>,
pub item_fee_adjustment_list: Option<Vec<FeeComponent>>,
pub item_tax_withheld_list: Option<Vec<TaxWithheldComponent>>,
pub promotion_list: Option<Vec<Promotion>>,
pub promotion_adjustment_list: Option<Vec<Promotion>>,
pub cost_of_points_granted: Option<Box<Currency>>,
pub cost_of_points_returned: Option<Box<Currency>>,
}Expand description
ShipmentItem : An item of a shipment, refund, guarantee claim, or chargeback.
Fields
seller_sku: Option<String>The seller SKU of the item. The seller SKU is qualified by the seller’s seller ID, which is included with every call to the Selling Partner API.
order_item_id: Option<String>An Amazon-defined order item identifier.
order_adjustment_item_id: Option<String>An Amazon-defined order adjustment identifier defined for refunds, guarantee claims, and chargeback events.
quantity_shipped: Option<i32>The number of items shipped.
item_charge_list: Option<Vec<ChargeComponent>>A list of charge information on the seller’s account.
item_charge_adjustment_list: Option<Vec<ChargeComponent>>A list of charge information on the seller’s account.
item_fee_list: Option<Vec<FeeComponent>>A list of fee component information.
item_fee_adjustment_list: Option<Vec<FeeComponent>>A list of fee component information.
item_tax_withheld_list: Option<Vec<TaxWithheldComponent>>A list of information about taxes withheld.
promotion_list: Option<Vec<Promotion>>A list of promotions.
promotion_adjustment_list: Option<Vec<Promotion>>A list of promotions.
cost_of_points_granted: Option<Box<Currency>>cost_of_points_returned: Option<Box<Currency>>Implementations
sourceimpl ShipmentItem
impl ShipmentItem
sourcepub fn new() -> ShipmentItem
pub fn new() -> ShipmentItem
An item of a shipment, refund, guarantee claim, or chargeback.
Trait Implementations
sourceimpl Clone for ShipmentItem
impl Clone for ShipmentItem
sourcefn clone(&self) -> ShipmentItem
fn clone(&self) -> ShipmentItem
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 ShipmentItem
impl Debug for ShipmentItem
sourceimpl Default for ShipmentItem
impl Default for ShipmentItem
sourcefn default() -> ShipmentItem
fn default() -> ShipmentItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShipmentItem
impl<'de> Deserialize<'de> for ShipmentItem
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<ShipmentItem> for ShipmentItem
impl PartialEq<ShipmentItem> for ShipmentItem
sourcefn eq(&self, other: &ShipmentItem) -> bool
fn eq(&self, other: &ShipmentItem) -> bool
sourceimpl Serialize for ShipmentItem
impl Serialize for ShipmentItem
impl StructuralPartialEq for ShipmentItem
Auto Trait Implementations
impl RefUnwindSafe for ShipmentItem
impl Send for ShipmentItem
impl Sync for ShipmentItem
impl Unpin for ShipmentItem
impl UnwindSafe for ShipmentItem
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