pub struct InvoicesResourceShippingCost {
pub amount_subtotal: i64,
pub amount_tax: i64,
pub amount_total: i64,
pub shipping_rate: Option<Expandable<ShippingRate>>,
pub taxes: Option<Vec<LineItemsTaxAmount>>,
}
Fields§
§amount_subtotal: i64
Total shipping cost before any taxes are applied.
amount_tax: i64
Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
amount_total: i64
Total shipping cost after taxes are applied.
shipping_rate: Option<Expandable<ShippingRate>>
The ID of the ShippingRate for this invoice.
taxes: Option<Vec<LineItemsTaxAmount>>
The taxes applied to the shipping rate.
Trait Implementations§
Source§impl Clone for InvoicesResourceShippingCost
impl Clone for InvoicesResourceShippingCost
Source§fn clone(&self) -> InvoicesResourceShippingCost
fn clone(&self) -> InvoicesResourceShippingCost
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvoicesResourceShippingCost
impl Debug for InvoicesResourceShippingCost
Auto Trait Implementations§
impl Freeze for InvoicesResourceShippingCost
impl RefUnwindSafe for InvoicesResourceShippingCost
impl Send for InvoicesResourceShippingCost
impl Sync for InvoicesResourceShippingCost
impl Unpin for InvoicesResourceShippingCost
impl UnwindSafe for InvoicesResourceShippingCost
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