Class ReturnpolicyResource.GetRequest
Gets a return policy of the Merchant Center account.
Inheritance
System.Object
ReturnpolicyResource.GetRequest
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 GetRequest : ShoppingContentBaseServiceRequest<ReturnPolicy>, IClientServiceRequest<ReturnPolicy>, IClientServiceRequest
Constructors
GetRequest(IClientService, UInt64, String)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, ulong merchantId, string returnPolicyId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.UInt64 | merchantId | |
System.String | returnPolicyId |
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.ReturnPolicy>.HttpMethod
MerchantId
The Merchant Center account to get a return policy for.
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.ReturnPolicy>.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.ReturnPolicy>.RestPath
ReturnPolicyId
Return policy ID generated by Google.
Declaration
[RequestParameter("returnPolicyId", RequestParameterType.Path)]
public virtual string ReturnPolicyId { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicy>.InitParameters()