[][src]Struct google_content2::OrderShipment

pub struct OrderShipment {
    pub status: Option<String>,
    pub line_items: Option<Vec<OrderShipmentLineItemShipment>>,
    pub scheduled_delivery_details: Option<OrderShipmentScheduledDeliveryDetails>,
    pub carrier: Option<String>,
    pub tracking_id: Option<String>,
    pub delivery_date: Option<String>,
    pub creation_date: Option<String>,
    pub id: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

status: Option<String>

The status of the shipment.

Acceptable values are:

  • "delivered"
  • "readyForPickup"
  • "shipped"
  • "undeliverable"
line_items: Option<Vec<OrderShipmentLineItemShipment>>

The line items that are shipped.

scheduled_delivery_details: Option<OrderShipmentScheduledDeliveryDetails>

Delivery details of the shipment if scheduling is needed.

carrier: Option<String>

The carrier handling the shipment.

For supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. Note: You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. Supported carriers for US are:

  • "ups" (United Parcel Service) automatic status updates
  • "usps" (United States Postal Service) automatic status updates
  • "fedex" (FedEx) automatic status updates
  • "dhl" (DHL eCommerce) automatic status updates (US only)
  • "ontrac" (OnTrac) automatic status updates
  • "dhl express" (DHL Express)
  • "deliv" (Deliv)
  • "dynamex" (TForce)
  • "lasership" (LaserShip)
  • "mpx" (Military Parcel Xpress)
  • "uds" (United Delivery Service)
  • "efw" (Estes Forwarding Worldwide)
  • "jd logistics" (JD Logistics)
  • "yunexpress" (YunExpress)
  • "china post" (China Post)
  • "china ems" (China Post Express Mail Service)
  • "singapore post" (Singapore Post)
  • "pos malaysia" (Pos Malaysia)
  • "postnl" (PostNL)
  • "ptt" (PTT Turkish Post)
  • "eub" (ePacket)
  • "chukou1" (Chukou1 Logistics)
    Supported carriers for FR are:
  • "la poste" (La Poste) automatic status updates
  • "colissimo" (Colissimo by La Poste) automatic status updates
  • "ups" (United Parcel Service) automatic status updates
  • "chronopost" (Chronopost by La Poste)
  • "gls" (General Logistics Systems France)
  • "dpd" (DPD Group by GeoPost)
  • "bpost" (Belgian Post Group)
  • "colis prive" (Colis Privé)
  • "boxtal" (Boxtal)
  • "geodis" (GEODIS)
  • "tnt" (TNT)
  • "db schenker" (DB Schenker)
  • "aramex" (Aramex)
tracking_id: Option<String>

The tracking ID for the shipment.

delivery_date: Option<String>

Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delivered

creation_date: Option<String>

Date on which the shipment has been created, in ISO 8601 format.

id: Option<String>

The ID of the shipment.

Trait Implementations

impl Clone for OrderShipment[src]

impl Debug for OrderShipment[src]

impl Default for OrderShipment[src]

impl<'de> Deserialize<'de> for OrderShipment[src]

impl Part for OrderShipment[src]

impl Serialize for OrderShipment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any