Show / Hide Table of Contents

Class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource

The "purchaseOptions" collection of methods.

Inheritance
object
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource

Constructors

PurchaseOptionsResource(IClientService)

Constructs a new resource.

Declaration
public PurchaseOptionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Offers

Gets the Offers resource.

Declaration
public virtual MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource Offers { get; }
Property Value
Type Description
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.OffersResource

Methods

BatchDelete(BatchDeletePurchaseOptionsRequest, string, string)

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.

Declaration
public virtual MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchDeleteRequest BatchDelete(BatchDeletePurchaseOptionsRequest body, string packageName, string productId)
Parameters
Type Name Description
BatchDeletePurchaseOptionsRequest body

The body of the request.

string packageName

Required. The parent app (package name) of the purchase options to delete.

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 "-".

Returns
Type Description
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchDeleteRequest

BatchUpdateStates(BatchUpdatePurchaseOptionStatesRequest, string, string)

Activates or deactivates purchase options across one or multiple one-time products.

Declaration
public virtual MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchUpdateStatesRequest BatchUpdateStates(BatchUpdatePurchaseOptionStatesRequest body, string packageName, string productId)
Parameters
Type Name Description
BatchUpdatePurchaseOptionStatesRequest body

The body of the request.

string packageName

Required. The parent app (package name) of the updated purchase options.

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 "-".

Returns
Type Description
MonetizationResource.OnetimeproductsResource.PurchaseOptionsResource.BatchUpdateStatesRequest
In this article
Back to top Generated by DocFX