Struct stripe::AutomaticTax
source · pub struct AutomaticTax {
pub enabled: bool,
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.
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