Class OrdersCancelLineItemRequest
Implements
Inherited Members
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
Quantity
The quantity to cancel.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
Type | Description |
---|---|
long? |
Reason
The reason for the cancellation. Acceptable values are: - "customerInitiatedCancel
" - "invalidCoupon
" -
"malformedShippingAddress
" - "noInventory
" - "other
" - "priceError
" - "shippingPriceError
" -
"taxError
" - "undeliverableShippingAddress
" - "unsupportedPoBoxAddress
" - "failedToCaptureFunds
"
Declaration
[JsonProperty("reason")]
public virtual string Reason { get; set; }
Property Value
Type | Description |
---|---|
string |
ReasonText
The explanation of the reason.
Declaration
[JsonProperty("reasonText")]
public virtual string ReasonText { get; set; }
Property Value
Type | Description |
---|---|
string |