Class OrderTrackingSignal.Types.ShippingInfo
The shipping information for the order.
Implements
Namespace: Google.Shopping.Merchant.OrderTracking.V1
Assembly: Google.Shopping.Merchant.OrderTracking.V1.dll
Syntax
public sealed class OrderTrackingSignal.Types.ShippingInfo : IMessage<OrderTrackingSignal.Types.ShippingInfo>, IEquatable<OrderTrackingSignal.Types.ShippingInfo>, IDeepCloneable<OrderTrackingSignal.Types.ShippingInfo>, IBufferMessage, IMessage
Constructors
ShippingInfo()
Declaration
public ShippingInfo()
ShippingInfo(ShippingInfo)
Declaration
public ShippingInfo(OrderTrackingSignal.Types.ShippingInfo other)
Parameters
Type | Name | Description |
---|---|---|
OrderTrackingSignal.Types.ShippingInfo | other |
Properties
ActualDeliveryTime
Optional. The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
Declaration
public DateTime ActualDeliveryTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Carrier
Optional. The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.
Declaration
public string Carrier { get; set; }
Property Value
Type | Description |
---|---|
string |
CarrierService
Optional. The service type for fulfillment, such as GROUND, FIRST_CLASS, etc.
Declaration
public string CarrierService { get; set; }
Property Value
Type | Description |
---|---|
string |
EarliestDeliveryPromiseTime
Optional. The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
Declaration
public DateTime EarliestDeliveryPromiseTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
LatestDeliveryPromiseTime
Optional. The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name.
Declaration
public DateTime LatestDeliveryPromiseTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
OriginPostalCode
Required. The origin postal code, as a continuous string without spaces or dashes, for example "95016". This field will be anonymized in returned OrderTrackingSignal creation response.
Declaration
public string OriginPostalCode { get; set; }
Property Value
Type | Description |
---|---|
string |
OriginRegionCode
Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.
Declaration
public string OriginRegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ShipmentId
Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.
Declaration
public string ShipmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
ShippedTime
Optional. The time when the shipment was shipped. Include the year and timezone string, if available.
Declaration
public DateTime ShippedTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ShippingStatus
Required. The status of the shipment.
Declaration
public OrderTrackingSignal.Types.ShippingInfo.Types.ShippingState ShippingStatus { get; set; }
Property Value
Type | Description |
---|---|
OrderTrackingSignal.Types.ShippingInfo.Types.ShippingState |
TrackingId
Optional. The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.
Declaration
public string TrackingId { get; set; }
Property Value
Type | Description |
---|---|
string |