Struct google_content2::AccountShippingShippingService
[−]
[src]
pub struct AccountShippingShippingService { pub min_days_in_transit: Option<String>, pub name: Option<String>, pub max_days_in_transit: Option<String>, pub active: Option<bool>, pub cost_rule_tree: Option<AccountShippingShippingServiceCostRule>, pub sale_country: Option<i64>, pub calculation_method: Option<AccountShippingShippingServiceCalculationMethod>, }
Shipping services provided in a country.
This type is not used in any activity, and only used as part of another schema.
Fields
min_days_in_transit: Option<String>
The minimum number of days in transit. Must be a value between 0 and maxDaysIntransit included. A value of 0 means same day delivery.
name: Option<String>
The name of this shipping service.
max_days_in_transit: Option<String>
The maximum number of days in transit. Must be a value between 0 and 250 included. A value of 0 means same day delivery.
active: Option<bool>
Whether the shipping service is available.
cost_rule_tree: Option<AccountShippingShippingServiceCostRule>
Decision tree for "complicated" shipping cost calculation.
sale_country: Option<i64>
The CLDR territory code of the sale country for which this service can be used.
calculation_method: Option<AccountShippingShippingServiceCalculationMethod>
Calculation method for the "simple" case that needs no rules.
Trait Implementations
impl Debug for AccountShippingShippingService
[src]
impl Clone for AccountShippingShippingService
[src]
fn clone(&self) -> AccountShippingShippingService
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 AccountShippingShippingService
[src]
fn default() -> AccountShippingShippingService
Returns the "default value" for a type. Read more