pub struct Price {
pub net: UnitPriceAmount,
pub discount: Option<UnitPriceAmount>,
pub gross: Option<UnitPriceAmount>,
pub base_qty: Option<Quantity>,
pub base_unit: Option<Code>,
}Expand description
BG-29 item price. BT-146 net; BT-147 discount; BT-148 gross (unit price, not Amount.Type).
Fields§
§net: UnitPriceAmountBT-146 item net price.
discount: Option<UnitPriceAmount>BT-147 item price discount (Price/AllowanceCharge/Amount).
gross: Option<UnitPriceAmount>BT-148 item gross price (Price/AllowanceCharge/BaseAmount).
base_qty: Option<Quantity>BT-149 item price base quantity.
base_unit: Option<Code>BT-150 item price base quantity unit.
Trait Implementations§
impl Eq for Price
impl StructuralPartialEq for Price
Auto Trait Implementations§
impl Freeze for Price
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnsafeUnpin for Price
impl UnwindSafe for Price
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