Struct amazon_sp_vendor_orders::models::order_acknowledgement_item::OrderAcknowledgementItem
source · [−]pub struct OrderAcknowledgementItem {
pub item_sequence_number: Option<String>,
pub amazon_product_identifier: Option<String>,
pub vendor_product_identifier: Option<String>,
pub ordered_quantity: Box<ItemQuantity>,
pub net_cost: Option<Box<Money>>,
pub list_price: Option<Box<Money>>,
pub discount_multiplier: Option<String>,
pub item_acknowledgements: Vec<OrderItemAcknowledgement>,
}Expand description
OrderAcknowledgementItem : Details of the item being acknowledged.
Fields
item_sequence_number: Option<String>Line item sequence number for the item.
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. Should be the same as was sent in the purchase order.
ordered_quantity: Box<ItemQuantity>net_cost: Option<Box<Money>>list_price: Option<Box<Money>>discount_multiplier: Option<String>The discount multiplier that should be applied to the price if a vendor sells books with a list price. This is a multiplier factor to arrive at a final discounted price. A multiplier of .90 would be the factor if a 10% discount is given.
item_acknowledgements: Vec<OrderItemAcknowledgement>This is used to indicate acknowledged quantity.
Implementations
sourceimpl OrderAcknowledgementItem
impl OrderAcknowledgementItem
sourcepub fn new(
ordered_quantity: ItemQuantity,
item_acknowledgements: Vec<OrderItemAcknowledgement>
) -> OrderAcknowledgementItem
pub fn new(
ordered_quantity: ItemQuantity,
item_acknowledgements: Vec<OrderItemAcknowledgement>
) -> OrderAcknowledgementItem
Details of the item being acknowledged.
Trait Implementations
sourceimpl Clone for OrderAcknowledgementItem
impl Clone for OrderAcknowledgementItem
sourcefn clone(&self) -> OrderAcknowledgementItem
fn clone(&self) -> OrderAcknowledgementItem
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 OrderAcknowledgementItem
impl Debug for OrderAcknowledgementItem
sourceimpl Default for OrderAcknowledgementItem
impl Default for OrderAcknowledgementItem
sourcefn default() -> OrderAcknowledgementItem
fn default() -> OrderAcknowledgementItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for OrderAcknowledgementItem
impl<'de> Deserialize<'de> for OrderAcknowledgementItem
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<OrderAcknowledgementItem> for OrderAcknowledgementItem
impl PartialEq<OrderAcknowledgementItem> for OrderAcknowledgementItem
sourcefn eq(&self, other: &OrderAcknowledgementItem) -> bool
fn eq(&self, other: &OrderAcknowledgementItem) -> bool
sourceimpl Serialize for OrderAcknowledgementItem
impl Serialize for OrderAcknowledgementItem
impl StructuralPartialEq for OrderAcknowledgementItem
Auto Trait Implementations
impl RefUnwindSafe for OrderAcknowledgementItem
impl Send for OrderAcknowledgementItem
impl Sync for OrderAcknowledgementItem
impl Unpin for OrderAcknowledgementItem
impl UnwindSafe for OrderAcknowledgementItem
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