Class OrdersResource.CanceltestorderbycustomerRequest
Sandbox only. Cancels a test order for customer-initiated cancellation.
Inheritance
System.Object
OrdersResource.CanceltestorderbycustomerRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class CanceltestorderbycustomerRequest : ShoppingContentBaseServiceRequest<OrdersCancelTestOrderByCustomerResponse>, IClientServiceRequest<OrdersCancelTestOrderByCustomerResponse>, IClientServiceRequest
Constructors
CanceltestorderbycustomerRequest(IClientService, OrdersCancelTestOrderByCustomerRequest, UInt64, String)
Constructs a new Canceltestorderbycustomer request.
Declaration
public CanceltestorderbycustomerRequest(IClientService service, OrdersCancelTestOrderByCustomerRequest body, ulong merchantId, string orderId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
OrdersCancelTestOrderByCustomerRequest | body | |
System.UInt64 | merchantId | |
System.String | orderId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersCancelTestOrderByCustomerResponse>.HttpMethod
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 |
---|---|
System.UInt64 |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersCancelTestOrderByCustomerResponse>.MethodName
OrderId
The ID of the test order to cancel.
Declaration
[RequestParameter("orderId", RequestParameterType.Path)]
public virtual string OrderId { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersCancelTestOrderByCustomerResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersCancelTestOrderByCustomerResponse>.GetBody()
InitParameters()
Initializes Canceltestorderbycustomer parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersCancelTestOrderByCustomerResponse>.InitParameters()