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 of the price, represented as a floating point number without the percentage character.

Name of the carrier rate to use for the calculation.

Name of the rate table to use for the calculation.

Delivery is excluded. Valid only within cost rules tree.

Fixed price shipping, represented as a floating point number associated with a currency.

Trait Implementations

impl Debug for AccountShippingShippingServiceCalculationMethod
[src]

Formats the value using the given formatter.

impl Clone for AccountShippingShippingServiceCalculationMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for AccountShippingShippingServiceCalculationMethod
[src]

Returns the "default value" for a type. Read more

impl Part for AccountShippingShippingServiceCalculationMethod
[src]