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: i64The amount of tax, in the smallest currency unit.
jurisdiction: TaxProductResourceJurisdiction§sourcing: TaxProductResourceLineItemTaxBreakdownSourcingIndicates 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: TaxProductResourceLineItemTaxBreakdownTaxabilityReasonThe 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: i64The 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 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 FromValueOpt for TaxProductResourceLineItemTaxBreakdown
impl FromValueOpt for TaxProductResourceLineItemTaxBreakdown
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourceLineItemTaxBreakdown
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