Struct google_content2::AccountShippingShippingServiceCalculationMethod
[−]
[src]
pub struct AccountShippingShippingServiceCalculationMethod {
pub percentage_rate: Option<String>,
pub carrier_rate: Option<String>,
pub rate_table: Option<String>,
pub excluded: Option<bool>,
pub flat_rate: Option<Price>,
}Shipping cost calculation method. Exactly one of the field is set.
This type is not used in any activity, and only used as part of another schema.
Fields
percentage_rate: Option<String>
Percentage of the price, represented as a floating point number without the percentage character.
carrier_rate: Option<String>
Name of the carrier rate to use for the calculation.
rate_table: Option<String>
Name of the rate table to use for the calculation.
excluded: Option<bool>
Delivery is excluded. Valid only within cost rules tree.
flat_rate: Option<Price>
Fixed price shipping, represented as a floating point number associated with a currency.
Trait Implementations
impl Debug for AccountShippingShippingServiceCalculationMethod[src]
impl Clone for AccountShippingShippingServiceCalculationMethod[src]
fn clone(&self) -> AccountShippingShippingServiceCalculationMethod
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 AccountShippingShippingServiceCalculationMethod[src]
fn default() -> AccountShippingShippingServiceCalculationMethod
Returns the "default value" for a type. Read more