Struct google_content2::api::AccountTaxTaxRule [−][src]
pub struct AccountTaxTaxRule {
pub country: Option<String>,
pub location_id: Option<String>,
pub rate_percent: Option<String>,
pub shipping_taxed: Option<bool>,
pub use_global_rate: Option<bool>,
}Expand description
Tax calculation rule to apply in a state or province (USA only).
This type is not used in any activity, and only used as part of another schema.
Fields
country: Option<String>Country code in which tax is applicable.
location_id: Option<String>Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).
rate_percent: Option<String>Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.
shipping_taxed: Option<bool>If true, shipping charges are also taxed.
use_global_rate: Option<bool>Whether the tax rate is taken from a global tax table or specified explicitly.
Trait Implementations
Returns the “default value” for a type. Read more
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 AccountTaxTaxRule
impl Send for AccountTaxTaxRule
impl Sync for AccountTaxTaxRule
impl Unpin for AccountTaxTaxRule
impl UnwindSafe for AccountTaxTaxRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more