pub struct TaxProductResourceTaxBreakdown {
pub amount: i64,
pub inclusive: bool,
pub tax_rate_details: TaxProductResourceTaxRateDetails,
pub taxability_reason: TaxProductResourceTaxBreakdownTaxabilityReason,
pub taxable_amount: i64,
}Fields§
§amount: i64The amount of tax, in the smallest currency unit.
inclusive: boolSpecifies whether the tax amount is included in the line item amount.
tax_rate_details: TaxProductResourceTaxRateDetails§taxability_reason: TaxProductResourceTaxBreakdownTaxabilityReasonThe reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.
taxable_amount: i64The amount on which tax is calculated, in the smallest currency unit.
Trait Implementations§
Source§impl Clone for TaxProductResourceTaxBreakdown
impl Clone for TaxProductResourceTaxBreakdown
Source§fn clone(&self) -> TaxProductResourceTaxBreakdown
fn clone(&self) -> TaxProductResourceTaxBreakdown
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 TaxProductResourceTaxBreakdown
impl FromValueOpt for TaxProductResourceTaxBreakdown
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourceTaxBreakdown
impl RefUnwindSafe for TaxProductResourceTaxBreakdown
impl Send for TaxProductResourceTaxBreakdown
impl Sync for TaxProductResourceTaxBreakdown
impl Unpin for TaxProductResourceTaxBreakdown
impl UnwindSafe for TaxProductResourceTaxBreakdown
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