Class OrdersResource.GettestordertemplateRequest
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.
Inheritance
System.Object
OrdersResource.GettestordertemplateRequest
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 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 |
---|---|---|
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_1.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_1.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_1.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_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.OrdersGetTestOrderTemplateResponse>.InitParameters()