Class InappproductsResource
The "inappproducts" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InappproductsResource
Constructors
InappproductsResource(IClientService)
Constructs a new resource.
Declaration
public InappproductsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(String, String)
Deletes an in-app product (i.e. a managed product or a subscriptions).
Declaration
public virtual InappproductsResource.DeleteRequest Delete(string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
System.String | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.DeleteRequest |
Get(String, String)
Gets an in-app product, which can be a managed product or a subscription.
Declaration
public virtual InappproductsResource.GetRequest Get(string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
System.String | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.GetRequest |
Insert(InAppProduct, String)
Creates an in-app product (i.e. a managed product or a subscriptions).
Declaration
public virtual InappproductsResource.InsertRequest Insert(InAppProduct body, string packageName)
Parameters
Type | Name | Description |
---|---|---|
InAppProduct | body | The body of the request. |
System.String | packageName | Package name of the app. |
Returns
Type | Description |
---|---|
InappproductsResource.InsertRequest |
List(String)
Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app
products, the response may be paginated. In this case the response field tokenPagination.nextPageToken
will be set and the caller should provide its value as a token
request parameter to retrieve the next
page.
Declaration
public virtual InappproductsResource.ListRequest List(string packageName)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
Returns
Type | Description |
---|---|
InappproductsResource.ListRequest |
Patch(InAppProduct, String, String)
Patches an in-app product (i.e. a managed product or a subscriptions).
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 | Package name of the app. |
System.String | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.PatchRequest |
Update(InAppProduct, String, String)
Updates an in-app product (i.e. a managed product or a subscriptions).
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 | Package name of the app. |
System.String | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.UpdateRequest |