pub struct AutomaticTax {
pub disabled_reason: Option<AutomaticTaxDisabledReason>,
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
pub provider: Option<String>,
pub status: Option<AutomaticTaxStatus>,
}
Fields§
§disabled_reason: Option<AutomaticTaxDisabledReason>
If Stripe disabled automatic tax, this enum describes why.
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.
provider: Option<String>
The tax provider powering automatic tax.
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 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 Debug for AutomaticTax
impl Debug for AutomaticTax
Source§impl Deserialize for AutomaticTax
impl Deserialize for AutomaticTax
Source§impl FromValueOpt for AutomaticTax
impl FromValueOpt for AutomaticTax
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for AutomaticTax
impl ObjectDeser for AutomaticTax
Auto Trait Implementations§
impl Freeze for AutomaticTax
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