Show / Hide Table of Contents

Class InappproductsResource

The "inappproducts" collection of methods.

Inheritance
System.Object
InappproductsResource
Namespace: Google.Apis.AndroidPublisher.v2
Assembly: Google.Apis.AndroidPublisher.v2.dll
Syntax
public class InappproductsResource : object

Constructors

InappproductsResource(IClientService)

Constructs a new resource.

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

Methods

Delete(String, String)

Delete an in-app product for an app.

Declaration
public virtual InappproductsResource.DeleteRequest Delete(string packageName, string sku)
Parameters
Type Name Description
System.String packageName

Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".

System.String sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.DeleteRequest

Get(String, String)

Returns information about the in-app product specified.

Declaration
public virtual InappproductsResource.GetRequest Get(string packageName, string sku)
Parameters
Type Name Description
System.String packageName
System.String sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.GetRequest

Insert(InAppProduct, String)

Creates a new in-app product for an app.

Declaration
public virtual InappproductsResource.InsertRequest Insert(InAppProduct body, string packageName)
Parameters
Type Name Description
InAppProduct body

The body of the request.

System.String packageName

Unique identifier for the Android app; for example, "com.spiffygame".

Returns
Type Description
InappproductsResource.InsertRequest

List(String)

List all the in-app products for an Android app, both subscriptions and managed in-app products..

Declaration
public virtual InappproductsResource.ListRequest List(string packageName)
Parameters
Type Name Description
System.String packageName

Unique identifier for the Android app with in-app products; for example, "com.spiffygame".

Returns
Type Description
InappproductsResource.ListRequest

Patch(InAppProduct, String, String)

Updates the details of an in-app product. This method supports patch semantics.

Declaration
public virtual InappproductsResource.PatchRequest Patch(InAppProduct body, string packageName, string sku)
Parameters
Type Name Description
InAppProduct body

The body of the request.

System.String packageName

Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".

System.String sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.PatchRequest

Update(InAppProduct, String, String)

Updates the details of an in-app product.

Declaration
public virtual InappproductsResource.UpdateRequest Update(InAppProduct body, string packageName, string sku)
Parameters
Type Name Description
InAppProduct body

The body of the request.

System.String packageName

Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".

System.String sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.UpdateRequest
Back to top