Show / Hide Table of Contents

Class OrdersCancelLineItemRequest

Inheritance
System.Object
OrdersCancelLineItemRequest
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 OrdersCancelLineItemRequest : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

LineItemId

The ID of the line item to cancel. Either lineItemId or productId is required.

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

OperationId

The ID of the operation. Unique across all operations for a given order.

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

ProductId

The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required.

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

Quantity

The quantity to cancel.

Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Reason

The reason for the cancellation. Acceptable values are: - "customerInitiatedCancel" - "invalidCoupon" - "malformedShippingAddress" - "noInventory" - "other" - "priceError" - "shippingPriceError" - "taxError" - "undeliverableShippingAddress" - "unsupportedPoBoxAddress"

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

ReasonText

The explanation of the reason.

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

Implements

IDirectResponseSchema
In This Article
Back to top