pub struct BillingBillResourceInvoicingTaxesTax {
pub amount: i64,
pub tax_behavior: BillingBillResourceInvoicingTaxesTaxTaxBehavior,
pub tax_rate_details: Option<BillingBillResourceInvoicingTaxesTaxRateDetails>,
pub taxability_reason: BillingBillResourceInvoicingTaxesTaxTaxabilityReason,
pub taxable_amount: Option<i64>,
pub type_: BillingBillResourceInvoicingTaxesTaxType,
}
Fields§
§amount: i64
The amount of the tax, in cents (or local equivalent).
tax_behavior: BillingBillResourceInvoicingTaxesTaxTaxBehavior
Whether this tax is inclusive or exclusive.
tax_rate_details: Option<BillingBillResourceInvoicingTaxesTaxRateDetails>
Additional details about the tax rate. Only present when type
is tax_rate_details
.
taxability_reason: BillingBillResourceInvoicingTaxesTaxTaxabilityReason
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: Option<i64>
The amount on which tax is calculated, in cents (or local equivalent).
type_: BillingBillResourceInvoicingTaxesTaxType
The type of tax information.
Trait Implementations§
Source§impl Clone for BillingBillResourceInvoicingTaxesTax
impl Clone for BillingBillResourceInvoicingTaxesTax
Source§fn clone(&self) -> BillingBillResourceInvoicingTaxesTax
fn clone(&self) -> BillingBillResourceInvoicingTaxesTax
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 BillingBillResourceInvoicingTaxesTax
impl FromValueOpt for BillingBillResourceInvoicingTaxesTax
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingBillResourceInvoicingTaxesTax
impl RefUnwindSafe for BillingBillResourceInvoicingTaxesTax
impl Send for BillingBillResourceInvoicingTaxesTax
impl Sync for BillingBillResourceInvoicingTaxesTax
impl Unpin for BillingBillResourceInvoicingTaxesTax
impl UnwindSafe for BillingBillResourceInvoicingTaxesTax
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