Show / Hide Table of Contents

Class Order

Order. Production access (all methods) requires the order manager role. Sandbox access does not.

Inheritance
System.Object
Order
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class Order : IDirectResponseSchema

Properties

Acknowledged

Whether the order was acknowledged.

Declaration
[JsonProperty("acknowledged")]
public virtual bool? Acknowledged { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

BillingAddress

The billing address.

Declaration
[JsonProperty("billingAddress")]
public virtual OrderAddress BillingAddress { get; set; }
Property Value
Type Description
OrderAddress

Customer

The details of the customer who placed the order.

Declaration
[JsonProperty("customer")]
public virtual OrderCustomer Customer { get; set; }
Property Value
Type Description
OrderCustomer

DeliveryDetails

Delivery details for shipments of type delivery.

Declaration
[JsonProperty("deliveryDetails")]
public virtual OrderDeliveryDetails DeliveryDetails { get; set; }
Property Value
Type Description
OrderDeliveryDetails

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

The REST ID of the order. Globally unique.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

Identifies what kind of resource this is. Value: the fixed string "content#order".

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

LineItems

Line items that are ordered.

Declaration
[JsonProperty("lineItems")]
public virtual IList<OrderLineItem> LineItems { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderLineItem>

MerchantId

Declaration
[JsonProperty("merchantId")]
public virtual ulong? MerchantId { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>

MerchantOrderId

Merchant-provided ID of the order.

Declaration
[JsonProperty("merchantOrderId")]
public virtual string MerchantOrderId { get; set; }
Property Value
Type Description
System.String

NetPriceAmount

The net amount for the order (price part). For example, if an order was originally for $100 and a refund was issued for $20, the net amount will be $80.

Declaration
[JsonProperty("netPriceAmount")]
public virtual Price NetPriceAmount { get; set; }
Property Value
Type Description
Price

NetTaxAmount

The net amount for the order (tax part). Note that in certain cases due to taxable base adjustment netTaxAmount might not match to a sum of tax field across all lineItems and refunds.

Declaration
[JsonProperty("netTaxAmount")]
public virtual Price NetTaxAmount { get; set; }
Property Value
Type Description
Price

PaymentStatus

The status of the payment.

Declaration
[JsonProperty("paymentStatus")]
public virtual string PaymentStatus { get; set; }
Property Value
Type Description
System.String

PickupDetails

Pickup details for shipments of type pickup.

Declaration
[JsonProperty("pickupDetails")]
public virtual OrderPickupDetails PickupDetails { get; set; }
Property Value
Type Description
OrderPickupDetails

PlacedDate

The date when the order was placed, in ISO 8601 format.

Declaration
[JsonProperty("placedDate")]
public virtual string PlacedDate { get; set; }
Property Value
Type Description
System.String

Promotions

Promotions associated with the order.

Declaration
[JsonProperty("promotions")]
public virtual IList<OrderPromotion> Promotions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderPromotion>

Refunds

Refunds for the order.

Declaration
[JsonProperty("refunds")]
public virtual IList<OrderRefund> Refunds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderRefund>

Shipments

Shipments of the order.

Declaration
[JsonProperty("shipments")]
public virtual IList<OrderShipment> Shipments { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderShipment>

ShippingCost

The total cost of shipping for all items.

Declaration
[JsonProperty("shippingCost")]
public virtual Price ShippingCost { get; set; }
Property Value
Type Description
Price

ShippingCostTax

The tax for the total shipping cost.

Declaration
[JsonProperty("shippingCostTax")]
public virtual Price ShippingCostTax { get; set; }
Property Value
Type Description
Price

Status

The status of the order.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
System.String

TaxCollector

The party responsible for collecting and remitting taxes.

Declaration
[JsonProperty("taxCollector")]
public virtual string TaxCollector { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top