pub struct InvoiceItem {
pub item_sequence_number: String,
pub buyer_product_identifier: Option<String>,
pub vendor_product_identifier: Option<String>,
pub invoiced_quantity: Box<ItemQuantity>,
pub net_cost: Box<Money>,
pub purchase_order_number: String,
pub vendor_order_number: Option<String>,
pub hsn_code: Option<String>,
pub tax_details: Option<Vec<TaxDetail>>,
pub charge_details: Option<Vec<ChargeDetails>>,
}Fields
item_sequence_number: StringNumbering of the item on the purchase order. The first item will be 1, the second 2, and so on.
buyer_product_identifier: Option<String>Buyer’s standard identification number (ASIN) of an item.
vendor_product_identifier: Option<String>The vendor selected product identification of the item.
invoiced_quantity: Box<ItemQuantity>net_cost: Box<Money>purchase_order_number: StringThe purchase order number for this order. Formatting Notes: 8-character alpha-numeric code.
vendor_order_number: Option<String>The vendor’s order number for this order.
hsn_code: Option<String>HSN tax code. The HSN number cannot contain alphabets.
tax_details: Option<Vec<TaxDetail>>Individual tax details per line item.
charge_details: Option<Vec<ChargeDetails>>Individual charge details per line item.
Implementations
sourceimpl InvoiceItem
impl InvoiceItem
pub fn new(
item_sequence_number: String,
invoiced_quantity: ItemQuantity,
net_cost: Money,
purchase_order_number: String
) -> InvoiceItem
Trait Implementations
sourceimpl Clone for InvoiceItem
impl Clone for InvoiceItem
sourcefn clone(&self) -> InvoiceItem
fn clone(&self) -> InvoiceItem
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 InvoiceItem
impl Debug for InvoiceItem
sourceimpl Default for InvoiceItem
impl Default for InvoiceItem
sourcefn default() -> InvoiceItem
fn default() -> InvoiceItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InvoiceItem
impl<'de> Deserialize<'de> for InvoiceItem
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<InvoiceItem> for InvoiceItem
impl PartialEq<InvoiceItem> for InvoiceItem
sourcefn eq(&self, other: &InvoiceItem) -> bool
fn eq(&self, other: &InvoiceItem) -> bool
sourceimpl Serialize for InvoiceItem
impl Serialize for InvoiceItem
impl StructuralPartialEq for InvoiceItem
Auto Trait Implementations
impl RefUnwindSafe for InvoiceItem
impl Send for InvoiceItem
impl Sync for InvoiceItem
impl Unpin for InvoiceItem
impl UnwindSafe for InvoiceItem
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