Class OrdersResource.GettestordertemplateRequest
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.
Inheritance
OrdersResource.GettestordertemplateRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrdersResource.GettestordertemplateRequest : ShoppingContentBaseServiceRequest<OrdersGetTestOrderTemplateResponse>, IClientServiceRequest<OrdersGetTestOrderTemplateResponse>, IClientServiceRequest
Constructors
GettestordertemplateRequest(IClientService, ulong, TemplateNameEnum)
Constructs a new Gettestordertemplate request.
Declaration
public GettestordertemplateRequest(IClientService service, ulong merchantId, OrdersResource.GettestordertemplateRequest.TemplateNameEnum templateName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ulong | 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 |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
ulong |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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()