Struct google_content2::AccountTaxTaxRule
[−]
[src]
pub struct AccountTaxTaxRule { pub country: Option<String>, pub rate_percent: Option<String>, pub shipping_taxed: Option<bool>, pub location_id: Option<String>, pub use_global_rate: Option<bool>, }
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.
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.
location_id: Option<String>
State (or province) is which the tax is applicable, described by its location id (also called criteria id).
use_global_rate: Option<bool>
Whether the tax rate is taken from a global tax table or specified explicitly.
Trait Implementations
impl Debug for AccountTaxTaxRule
[src]
impl Clone for AccountTaxTaxRule
[src]
fn clone(&self) -> AccountTaxTaxRule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for AccountTaxTaxRule
[src]
fn default() -> AccountTaxTaxRule
Returns the "default value" for a type. Read more