Struct stripe::InvoicesShippingCost
source · pub struct InvoicesShippingCost {
pub amount_subtotal: i64,
pub amount_tax: i64,
pub amount_total: i64,
pub shipping_rate: Option<Expandable<ShippingRate>>,
pub taxes: Option<Vec<LineItemsTaxAmount>>,
}
Expand description
The resource representing a Stripe “InvoicesShippingCost”.
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 InvoicesShippingCost
impl Clone for InvoicesShippingCost
source§fn clone(&self) -> InvoicesShippingCost
fn clone(&self) -> InvoicesShippingCost
Returns a copy 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 InvoicesShippingCost
impl Debug for InvoicesShippingCost
source§impl Default for InvoicesShippingCost
impl Default for InvoicesShippingCost
source§fn default() -> InvoicesShippingCost
fn default() -> InvoicesShippingCost
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvoicesShippingCost
impl<'de> Deserialize<'de> for InvoicesShippingCost
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