Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.ListRequest
Lists all offers under a given app, product, or purchase option.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.ListRequest : AndroidPublisherBaseServiceRequest<ListOneTimeProductOffersResponse>, IClientServiceRequest<ListOneTimeProductOffersResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string packageName, string productId, string purchaseOptionId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | packageName | |
| string | productId | |
| string | purchaseOptionId |
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
PackageName
Required. The parent app (package name) for which the offers should be read.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. The maximum number of offers to return. The service may return fewer than this value. If unspecified, at most 50 offers will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
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 ListOneTimeProductsOffers call. Provide
this to retrieve the subsequent page. When paginating, product_id, package_name and
purchase_option_id provided to ListOneTimeProductsOffersRequest must match the call that
provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The parent one-time product (ID) for which the offers should be read. May be specified as '-' to read all offers under an app.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
| Type | Description |
|---|---|
| string |
PurchaseOptionId
Required. The parent purchase option (ID) for which the offers should be read. May be specified as '-' to read all offers under a one-time product or an app. Must be specified as '-' if product_id is specified as '-'.
Declaration
[RequestParameter("purchaseOptionId", RequestParameterType.Path)]
public virtual string PurchaseOptionId { 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()