All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.OrderShipment.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






OrderShipment (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class OrderShipment

    • Constructor Detail

      • OrderShipment

        public OrderShipment()
    • Method Detail

      • getCarrier

        public String getCarrier()
        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 won't 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) - "`bestex`" (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) - "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) - "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India) - "`lso`" (Lone Star Overnight) - "`tww`" (Team Worldwide) - "`deliver-it`" (Deliver-IT) - "`cdl last mile`" (CDL Last Mile) 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)
        Returns:
        value or null for none
      • setCarrier

        public OrderShipment setCarrier(String carrier)
        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 won't 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) - "`bestex`" (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) - "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) - "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India) - "`lso`" (Lone Star Overnight) - "`tww`" (Team Worldwide) - "`deliver-it`" (Deliver-IT) - "`cdl last mile`" (CDL Last Mile) 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)
        Parameters:
        carrier - carrier or null for none
      • getCreationDate

        public String getCreationDate()
        Date on which the shipment has been created, in ISO 8601 format.
        Returns:
        value or null for none
      • setCreationDate

        public OrderShipment setCreationDate(String creationDate)
        Date on which the shipment has been created, in ISO 8601 format.
        Parameters:
        creationDate - creationDate or null for none
      • getDeliveryDate

        public String getDeliveryDate()
        Date on which the shipment has been delivered, in ISO 8601 format. Present only if `status` is `delivered`
        Returns:
        value or null for none
      • setDeliveryDate

        public OrderShipment setDeliveryDate(String deliveryDate)
        Date on which the shipment has been delivered, in ISO 8601 format. Present only if `status` is `delivered`
        Parameters:
        deliveryDate - deliveryDate or null for none
      • getId

        public String getId()
        The ID of the shipment.
        Returns:
        value or null for none
      • setId

        public OrderShipment setId(String id)
        The ID of the shipment.
        Parameters:
        id - id or null for none
      • getScheduledDeliveryDetails

        public OrderShipmentScheduledDeliveryDetails getScheduledDeliveryDetails()
        Delivery details of the shipment if scheduling is needed.
        Returns:
        value or null for none
      • setScheduledDeliveryDetails

        public OrderShipment setScheduledDeliveryDetails(OrderShipmentScheduledDeliveryDetails scheduledDeliveryDetails)
        Delivery details of the shipment if scheduling is needed.
        Parameters:
        scheduledDeliveryDetails - scheduledDeliveryDetails or null for none
      • getShipmentGroupId

        public String getShipmentGroupId()
        The shipment group ID of the shipment. This is set in shiplineitems request.
        Returns:
        value or null for none
      • setShipmentGroupId

        public OrderShipment setShipmentGroupId(String shipmentGroupId)
        The shipment group ID of the shipment. This is set in shiplineitems request.
        Parameters:
        shipmentGroupId - shipmentGroupId or null for none
      • getStatus

        public String getStatus()
        The status of the shipment. Acceptable values are: - "`delivered`" - "`readyForPickup`" - "`shipped`" - "`undeliverable`"
        Returns:
        value or null for none
      • setStatus

        public OrderShipment setStatus(String status)
        The status of the shipment. Acceptable values are: - "`delivered`" - "`readyForPickup`" - "`shipped`" - "`undeliverable`"
        Parameters:
        status - status or null for none
      • getTrackingId

        public String getTrackingId()
        The tracking ID for the shipment.
        Returns:
        value or null for none
      • setTrackingId

        public OrderShipment setTrackingId(String trackingId)
        The tracking ID for the shipment.
        Parameters:
        trackingId - trackingId or null for none
      • set

        public OrderShipment set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public OrderShipment clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy