pub struct TaxProductResourceTaxBreakdown {
pub amount: i64,
pub inclusive: bool,
pub tax_rate_details: TaxProductResourceTaxRateDetails,
pub taxability_reason: TaxProductResourceTaxBreakdownTaxabilityReason,
pub taxable_amount: i64,
}
Fields§
§amount: i64
The amount of tax, in the smallest currency unit.
inclusive: bool
Specifies whether the tax amount is included in the line item amount.
tax_rate_details: TaxProductResourceTaxRateDetails
§taxability_reason: TaxProductResourceTaxBreakdownTaxabilityReason
The 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: i64
The 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 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 TaxProductResourceTaxBreakdown
impl Default for TaxProductResourceTaxBreakdown
source§fn default() -> TaxProductResourceTaxBreakdown
fn default() -> TaxProductResourceTaxBreakdown
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceTaxBreakdown
impl<'de> Deserialize<'de> for TaxProductResourceTaxBreakdown
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 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