Struct stripe::generated::tax_calculation::tax_calculation_line_item::TaxProductResourceLineItemTaxBreakdown
source · pub struct TaxProductResourceLineItemTaxBreakdown {
pub amount: i64,
pub jurisdiction: TaxProductResourceJurisdiction,
pub sourcing: TaxProductResourceLineItemTaxBreakdownSourcing,
pub tax_rate_details: Option<TaxProductResourceLineItemTaxRateDetails>,
pub taxability_reason: TaxProductResourceLineItemTaxBreakdownTaxabilityReason,
pub taxable_amount: i64,
}
Fields§
§amount: i64
The amount of tax, in the smallest currency unit.
jurisdiction: TaxProductResourceJurisdiction
§sourcing: TaxProductResourceLineItemTaxBreakdownSourcing
Indicates whether the jurisdiction was determined by the origin (merchant’s address) or destination (customer’s address).
tax_rate_details: Option<TaxProductResourceLineItemTaxRateDetails>
Details regarding the rate for this tax.
This field will be null
when the tax is not imposed, for example if the product is exempt from tax.
taxability_reason: TaxProductResourceLineItemTaxBreakdownTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt.
The possible values for this field may be extended as new tax rules are supported.
taxable_amount: i64
The amount on which tax is calculated, in the smallest currency unit.
Trait Implementations§
source§impl Clone for TaxProductResourceLineItemTaxBreakdown
impl Clone for TaxProductResourceLineItemTaxBreakdown
source§fn clone(&self) -> TaxProductResourceLineItemTaxBreakdown
fn clone(&self) -> TaxProductResourceLineItemTaxBreakdown
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 Default for TaxProductResourceLineItemTaxBreakdown
impl Default for TaxProductResourceLineItemTaxBreakdown
source§fn default() -> TaxProductResourceLineItemTaxBreakdown
fn default() -> TaxProductResourceLineItemTaxBreakdown
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceLineItemTaxBreakdown
impl<'de> Deserialize<'de> for TaxProductResourceLineItemTaxBreakdown
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
Auto Trait Implementations§
impl RefUnwindSafe for TaxProductResourceLineItemTaxBreakdown
impl Send for TaxProductResourceLineItemTaxBreakdown
impl Sync for TaxProductResourceLineItemTaxBreakdown
impl Unpin for TaxProductResourceLineItemTaxBreakdown
impl UnwindSafe for TaxProductResourceLineItemTaxBreakdown
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