Class OrdersResource.InstorerefundlineitemRequest
Deprecated. Notifies that item return and refund was handled directly by merchant outside of Google payments processing (for example, cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding through Google then through an in-store return.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrdersResource.InstorerefundlineitemRequest : ShoppingContentBaseServiceRequest<OrdersInStoreRefundLineItemResponse>, IClientServiceRequest<OrdersInStoreRefundLineItemResponse>, IClientServiceRequest
Constructors
InstorerefundlineitemRequest(IClientService, OrdersInStoreRefundLineItemRequest, ulong, string)
Constructs a new Instorerefundlineitem request.
Declaration
public InstorerefundlineitemRequest(IClientService service, OrdersInStoreRefundLineItemRequest body, ulong merchantId, string orderId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
OrdersInStoreRefundLineItemRequest | 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 Instorerefundlineitem parameter list.
Declaration
protected override void InitParameters()