Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchUpdateStatesRequest
Activates or deactivates purchase options across one or multiple one-time products.
Inheritance
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchUpdateStatesRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchUpdateStatesRequest : AndroidPublisherBaseServiceRequest<BatchUpdatePurchaseOptionStatesResponse>, IClientServiceRequest<BatchUpdatePurchaseOptionStatesResponse>, IClientServiceRequest
Constructors
BatchUpdateStatesRequest(IClientService, BatchUpdatePurchaseOptionStatesRequest, string, string)
Constructs a new BatchUpdateStates request.
Declaration
public BatchUpdateStatesRequest(IClientService service, BatchUpdatePurchaseOptionStatesRequest body, string packageName, string productId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchUpdatePurchaseOptionStatesRequest | body | |
| string | packageName | |
| string | productId |
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) of the updated purchase options.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The product ID of the parent one-time product, if all updated purchase options belong to the same one-time product. If this batch update spans multiple one-time products, set this field to "-".
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes BatchUpdateStates parameter list.
Declaration
protected override void InitParameters()