Class AccountsResource.OnlineReturnPoliciesResource.ListRequest
Lists all existing return policies.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.OnlineReturnPoliciesResource.ListRequest : MerchantBaseServiceRequest<ListOnlineReturnPoliciesResponse>, IClientServiceRequest<ListOnlineReturnPoliciesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. The maximum number of OnlineReturnPolicy
resources to return. The service returns fewer
than this value if the number of return policies for the given merchant is less that than the
pageSize
. The default value is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize
will default to the maximum
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page
token to retrieve the subsequent page. When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page token. The token returned as
nextPageToken in the response to the previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The merchant account for which to list return policies. Format: accounts/{account}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()