Show / Hide Table of Contents

Class TestOrder

Inheritance
System.Object
TestOrder
Implements
Google.Apis.Requests.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.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class TestOrder : IDirectResponseSchema

Properties

Customer

Required. The details of the customer who placed the order.

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

EnableOrderinvoices

Whether the orderinvoices service should support this order.

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

ETag

The ETag of the item.

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

Kind

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

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

LineItems

Required. Line items that are ordered. At least one line item must be provided.

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

NotificationMode

Restricted. Do not use.

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

PaymentMethod

The details of the payment method.

Declaration
[JsonProperty("paymentMethod")]
public virtual TestOrderPaymentMethod PaymentMethod { get; set; }
Property Value
Type Description
TestOrderPaymentMethod

PredefinedDeliveryAddress

Required. Identifier of one of the predefined delivery addresses for the delivery. Acceptable values are: - "dwight" - "jim" - "pam"

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

PredefinedPickupDetails

Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type pickup. Acceptable values are: - "dwight" - "jim" - "pam"

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

Promotions

Deprecated. Ignored if provided.

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

ShippingCost

Required. The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.

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

ShippingCostTax

Deprecated. Ignored if provided.

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

ShippingOption

Required. The requested shipping option. Acceptable values are: - "economy" - "expedited" - "oneDay" - "sameDay" - "standard" - "twoDay"

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

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top