Class OrdersReturnRefundLineItemRequest
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrdersReturnRefundLineItemRequest : 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 return. 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 |
PriceAmount
The amount to be refunded. This may be pre-tax or post-tax depending on the location of the order. If omitted, refundless return is assumed.
Declaration
[JsonProperty("priceAmount")]
public virtual Price PriceAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
ProductId
The ID of the product to return. 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 return and refund. Quantity is required.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Reason
The reason for the return. Acceptable values are: - "customerDiscretionaryReturn" -
"customerInitiatedMerchantCancel" - "deliveredTooLate" - "expiredItem" - "invalidCoupon" -
"malformedShippingAddress" - "other" - "productArrivedDamaged" - "productNotAsDescribed" -
"qualityNotAsExpected" - "undeliverableShippingAddress" - "unsupportedPoBoxAddress" -
"wrongProductShipped"
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 |
TaxAmount
The amount of tax to be refunded. Optional, but if filled, then priceAmount must be set. Calculated automatically if not provided.
Declaration
[JsonProperty("taxAmount")]
public virtual Price TaxAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |