Struct google_content2::api::ProductTax [−][src]
pub struct ProductTax {
pub country: Option<String>,
pub location_id: Option<String>,
pub postal_code: Option<String>,
pub rate: Option<f64>,
pub region: Option<String>,
pub tax_ship: Option<bool>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
country: Option<String>The country within which the item is taxed, specified as a CLDR territory code.
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*.
rate: Option<f64>The percentage of tax rate that applies to the item price.
region: Option<String>The geographic region to which the tax rate applies.
tax_ship: Option<bool>Should be set to true if tax is charged on shipping.
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 ProductTax
impl Send for ProductTax
impl Sync for ProductTax
impl Unpin for ProductTax
impl UnwindSafe for ProductTax
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more