Class OrdersResource.GettestordertemplateRequest
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<OrdersGetTestOrderTemplateResponse>
OrdersResource.GettestordertemplateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<OrdersGetTestOrderTemplateResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class GettestordertemplateRequest : ShoppingContentBaseServiceRequest<OrdersGetTestOrderTemplateResponse>, IClientServiceRequest<OrdersGetTestOrderTemplateResponse>, IClientServiceRequest
Constructors
GettestordertemplateRequest(IClientService, UInt64, OrdersResource.GettestordertemplateRequest.TemplateNameEnum)
Constructs a new Gettestordertemplate request.
Declaration
public GettestordertemplateRequest(IClientService service, ulong merchantId, OrdersResource.GettestordertemplateRequest.TemplateNameEnum templateName)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.UInt64 | merchantId | |
OrdersResource.GettestordertemplateRequest.TemplateNameEnum | templateName |
Properties
Country
The country of the template to retrieve. Defaults to US
.
Declaration
[RequestParameter("country", RequestParameterType.Query)]
public virtual string Country { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.Data.OrdersGetTestOrderTemplateResponse>.HttpMethod
MerchantId
The ID of the account that should manage 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.Data.OrdersGetTestOrderTemplateResponse>.MethodName
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.Data.OrdersGetTestOrderTemplateResponse>.RestPath
TemplateName
The name of the template to retrieve.
Declaration
[RequestParameter("templateName", RequestParameterType.Path)]
public virtual OrdersResource.GettestordertemplateRequest.TemplateNameEnum TemplateName { get; }
Property Value
Type | Description |
---|---|
OrdersResource.GettestordertemplateRequest.TemplateNameEnum |
Methods
InitParameters()
Initializes Gettestordertemplate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2.Data.OrdersGetTestOrderTemplateResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest