Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateStatesRequest
Updates a batch of one-time product offer states.
Inheritance
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateStatesRequest
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource.BatchUpdateStatesRequest : AndroidPublisherBaseServiceRequest<BatchUpdateOneTimeProductOfferStatesResponse>, IClientServiceRequest<BatchUpdateOneTimeProductOfferStatesResponse>, IClientServiceRequest
Constructors
BatchUpdateStatesRequest(IClientService, BatchUpdateOneTimeProductOfferStatesRequest, string, string, string)
Constructs a new BatchUpdateStates request.
Declaration
public BatchUpdateStatesRequest(IClientService service, BatchUpdateOneTimeProductOfferStatesRequest body, string packageName, string productId, string purchaseOptionId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchUpdateOneTimeProductOfferStatesRequest | body | |
| 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) of the updated one-time product offers.
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 offers 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 |
PurchaseOptionId
Required. The purchase option ID of the parent purchase option, if all updated offers belong to the same purchase option. If this batch update spans multiple purchase options, set this field to "-".
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
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()