Class OrderTrackingSignal
Represents a business trade from which signals are extracted, such as shipping.
Implements
Namespace: Google.Shopping.Merchant.OrderTracking.V1
Assembly: Google.Shopping.Merchant.OrderTracking.V1.dll
Syntax
public sealed class OrderTrackingSignal : IMessage<OrderTrackingSignal>, IEquatable<OrderTrackingSignal>, IDeepCloneable<OrderTrackingSignal>, IBufferMessage, IMessage
Constructors
OrderTrackingSignal()
Declaration
public OrderTrackingSignal()
OrderTrackingSignal(OrderTrackingSignal)
Declaration
public OrderTrackingSignal(OrderTrackingSignal other)
Parameters
Type | Name | Description |
---|---|---|
OrderTrackingSignal | other |
Properties
CustomerShippingFee
Optional. The shipping fee of the order; this value should be set to zero in the case of free shipping.
Declaration
public Price CustomerShippingFee { get; set; }
Property Value
Type | Description |
---|---|
Price |
DeliveryPostalCode
Optional. The delivery 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 DeliveryPostalCode { get; set; }
Property Value
Type | Description |
---|---|
string |
DeliveryRegionCode
Optional. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.
Declaration
public string DeliveryRegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
LineItems
Required. Information about line items in the order.
Declaration
public RepeatedField<OrderTrackingSignal.Types.LineItemDetails> LineItems { get; }
Property Value
Type | Description |
---|---|
RepeatedField<OrderTrackingSignal.Types.LineItemDetails> |
MerchantId
Optional. The Google Merchant Center ID of this order tracking signal. This value is optional. If left unset, the caller's Merchant Center ID is used. You must request access in order to provide data on behalf of another business. For more information, see Submitting Order Tracking Signals.
Declaration
public long MerchantId { get; set; }
Property Value
Type | Description |
---|---|
long |
OrderCreatedTime
Required. The time when the order was created on the businesses side. Include the year and timezone string, if available.
Declaration
public DateTime OrderCreatedTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
OrderId
Required. The ID of the order on the businesses side. This field will be hashed in returned OrderTrackingSignal creation response.
Declaration
public string OrderId { get; set; }
Property Value
Type | Description |
---|---|
string |
OrderTrackingSignalId
Output only. The ID that uniquely identifies this order tracking signal.
Declaration
public long OrderTrackingSignalId { get; set; }
Property Value
Type | Description |
---|---|
long |
ShipmentLineItemMapping
Optional. The mapping of the line items to the shipment information.
Declaration
public RepeatedField<OrderTrackingSignal.Types.ShipmentLineItemMapping> ShipmentLineItemMapping { get; }
Property Value
Type | Description |
---|---|
RepeatedField<OrderTrackingSignal.Types.ShipmentLineItemMapping> |
ShippingInfo
Required. The shipping information for the order.
Declaration
public RepeatedField<OrderTrackingSignal.Types.ShippingInfo> ShippingInfo { get; }
Property Value
Type | Description |
---|---|
RepeatedField<OrderTrackingSignal.Types.ShippingInfo> |