Struct google_content2::api::DeliveryTime
source · pub struct DeliveryTime {
pub cutoff_time: Option<CutoffTime>,
pub handling_business_day_config: Option<BusinessDayConfig>,
pub holiday_cutoffs: Option<Vec<HolidayCutoff>>,
pub max_handling_time_in_days: Option<u32>,
pub max_transit_time_in_days: Option<u32>,
pub min_handling_time_in_days: Option<u32>,
pub min_transit_time_in_days: Option<u32>,
pub transit_business_day_config: Option<BusinessDayConfig>,
pub transit_time_table: Option<TransitTable>,
pub warehouse_based_delivery_times: Option<Vec<WarehouseBasedDeliveryTime>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cutoff_time: Option<CutoffTime>
Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.
handling_business_day_config: Option<BusinessDayConfig>
The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
holiday_cutoffs: Option<Vec<HolidayCutoff>>
Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.
max_handling_time_in_days: Option<u32>
Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays
.
max_transit_time_in_days: Option<u32>
Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays
.
min_handling_time_in_days: Option<u32>
Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.
min_transit_time_in_days: Option<u32>
Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}TransitTimeInDays
or transitTimeTable
must be set, but not both.
transit_business_day_config: Option<BusinessDayConfig>
The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.
transit_time_table: Option<TransitTable>
Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}TransitTimeInDays
or transitTimeTable
can be set, but not both.
warehouse_based_delivery_times: Option<Vec<WarehouseBasedDeliveryTime>>
Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in DeliveryTime should be set.
Trait Implementations§
source§impl Clone for DeliveryTime
impl Clone for DeliveryTime
source§fn clone(&self) -> DeliveryTime
fn clone(&self) -> DeliveryTime
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more