Struct google_content2::api::WarehouseBasedDeliveryTime
source · pub struct WarehouseBasedDeliveryTime {
pub carrier: Option<String>,
pub carrier_service: Option<String>,
pub origin_administrative_area: Option<String>,
pub origin_city: Option<String>,
pub origin_country: Option<String>,
pub origin_postal_code: Option<String>,
pub origin_street_address: Option<String>,
pub warehouse_name: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§carrier: Option<String>
Required. Carrier, such as "UPS"
or "Fedex"
. The list of supported carriers can be retrieved via the listSupportedCarriers
method.
carrier_service: Option<String>
Required. Carrier service, such as "ground"
or "2 days"
. The list of supported services for a carrier can be retrieved via the listSupportedCarriers
method. The name of the service must be in the eddSupportedServices list.
origin_administrative_area: Option<String>
Shipping origin’s state.
origin_city: Option<String>
Shipping origin’s city.
origin_country: Option<String>
Shipping origin’s country represented as a CLDR territory code.
origin_postal_code: Option<String>
Shipping origin.
origin_street_address: Option<String>
Shipping origin’s street address
warehouse_name: Option<String>
The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.
Trait Implementations§
source§impl Clone for WarehouseBasedDeliveryTime
impl Clone for WarehouseBasedDeliveryTime
source§fn clone(&self) -> WarehouseBasedDeliveryTime
fn clone(&self) -> WarehouseBasedDeliveryTime
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more