Class OrdersResource.ReturnrefundlineitemRequest
Returns and refunds a line item. Note that this method can only be called on fully shipped orders. The Orderreturns API is the preferred way to handle returns after you receive a return from a customer. You can use Orderreturns.list or Orderreturns.get to search for the return, and then use Orderreturns.processreturn to issue the refund. If the return cannot be found, then we recommend using this API to issue a refund.
Inheritance
OrdersResource.ReturnrefundlineitemRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrdersResource.ReturnrefundlineitemRequest : ShoppingContentBaseServiceRequest<OrdersReturnRefundLineItemResponse>, IClientServiceRequest<OrdersReturnRefundLineItemResponse>, IClientServiceRequest
Constructors
ReturnrefundlineitemRequest(IClientService, OrdersReturnRefundLineItemRequest, ulong, string)
Constructs a new Returnrefundlineitem request.
Declaration
public ReturnrefundlineitemRequest(IClientService service, OrdersReturnRefundLineItemRequest body, ulong merchantId, string orderId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
OrdersReturnRefundLineItemRequest | body | |
ulong | merchantId | |
string | orderId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MerchantId
The ID of the account that manages the order. This cannot be a multi-client account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
ulong |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderId
The ID of the order.
Declaration
[RequestParameter("orderId", RequestParameterType.Path)]
public virtual string OrderId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Returnrefundlineitem parameter list.
Declaration
protected override void InitParameters()