pub struct OrderItem {
pub item_sequence_number: String,
pub amazon_product_identifier: Option<String>,
pub vendor_product_identifier: Option<String>,
pub ordered_quantity: Box<ItemQuantity>,
pub is_back_order_allowed: bool,
pub net_cost: Option<Box<Money>>,
pub list_price: Option<Box<Money>>,
}Expand description
OrderItem : Represents an individual item in an order, including item details, quantities, pricing, and backorder information.
Fields§
§item_sequence_number: StringNumbering of the item on the purchase order. The first item will be 1, the second 2, and so on.
amazon_product_identifier: Option<String>Amazon Standard Identification Number (ASIN) of an item.
vendor_product_identifier: Option<String>The vendor selected product identification of the item.
ordered_quantity: Box<ItemQuantity>§is_back_order_allowed: boolWhen true, we will accept backorder confirmations for this item.
net_cost: Option<Box<Money>>§list_price: Option<Box<Money>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderItem
impl<'de> Deserialize<'de> for OrderItem
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 StructuralPartialEq for OrderItem
Auto Trait Implementations§
impl Freeze for OrderItem
impl RefUnwindSafe for OrderItem
impl Send for OrderItem
impl Sync for OrderItem
impl Unpin for OrderItem
impl UnwindSafe for OrderItem
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