Class OrdersCustomBatchRequestEntryCancelLineItem
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class OrdersCustomBatchRequestEntryCancelLineItem : IDirectResponseSchema
Properties
Amount
Deprecated. Please use amountPretax and amountTax instead.
Declaration
[JsonProperty("amount")]
public virtual Price Amount { get; set; }
Property Value
Type | Description |
---|---|
Price |
AmountPretax
Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order.
Declaration
[JsonProperty("amountPretax")]
public virtual Price AmountPretax { get; set; }
Property Value
Type | Description |
---|---|
Price |
AmountTax
Tax amount that corresponds to cancellation amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided.
Declaration
[JsonProperty("amountTax")]
public virtual Price AmountTax { get; set; }
Property Value
Type | Description |
---|---|
Price |
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 |
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 |