Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchDeleteRequest
Deletes purchase options across one or multiple one-time products. By default this operation will fail if there are any existing offers under the deleted purchase options. Use the force parameter to override the default behavior.
Inheritance
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchDeleteRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchDeleteRequest : AndroidPublisherBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
BatchDeleteRequest(IClientService, BatchDeletePurchaseOptionsRequest, string, string)
Constructs a new BatchDelete request.
Declaration
public BatchDeleteRequest(IClientService service, BatchDeletePurchaseOptionsRequest body, string packageName, string productId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchDeletePurchaseOptionsRequest | 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 purchase options to delete.
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 purchase options to delete belong to the same one-time product. If this batch delete 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 BatchDelete parameter list.
Declaration
protected override void InitParameters()