pub struct AutomaticTax {
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
pub status: Option<AutomaticTaxStatus>,
}
Fields§
§enabled: bool
Whether Stripe automatically computes tax on this invoice.
Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or tax_behavior=unspecified
) cannot be added to automatic tax invoices.
liability: Option<ConnectAccountReference>
The account that’s liable for tax.
If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
status: Option<AutomaticTaxStatus>
The status of the most recent automated tax calculation for this invoice.
Trait Implementations§
source§impl Clone for AutomaticTax
impl Clone for AutomaticTax
source§fn clone(&self) -> AutomaticTax
fn clone(&self) -> AutomaticTax
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 Debug for AutomaticTax
impl Debug for AutomaticTax
source§impl Default for AutomaticTax
impl Default for AutomaticTax
source§fn default() -> AutomaticTax
fn default() -> AutomaticTax
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AutomaticTax
impl<'de> Deserialize<'de> for AutomaticTax
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 AutomaticTax
impl Send for AutomaticTax
impl Sync for AutomaticTax
impl Unpin for AutomaticTax
impl UnwindSafe for AutomaticTax
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