Struct google_content2::ProductTax
[−]
[src]
pub struct ProductTax { pub rate: Option<f64>, pub location_id: Option<String>, pub postal_code: Option<String>, pub country: Option<String>, pub region: Option<String>, pub tax_ship: Option<bool>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
rate: Option<f64>
The percentage of tax rate that applies to the item price.
location_id: Option<String>
The numeric id of a location that the tax rate applies to as defined in the AdWords API.
postal_code: Option<String>
The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.
country: Option<String>
The country within which the item is taxed, specified as a CLDR territory code.
region: Option<String>
The geographic region to which the tax rate applies.
tax_ship: Option<bool>
Set to true if tax is charged on shipping.
Trait Implementations
impl Debug for ProductTax
[src]
impl Clone for ProductTax
[src]
fn clone(&self) -> ProductTax
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 ProductTax
[src]
fn default() -> ProductTax
Returns the "default value" for a type. Read more