Class InappproductsResource
The "inappproducts" collection of methods.
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 (a managed product or a subscription). This method should no longer be used to delete subscriptions. See this article for more information.
Declaration
public virtual InappproductsResource.DeleteRequest Delete(string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Package name of the app. |
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. This method should no longer be used to retrieve subscriptions. See this article for more information.
Declaration
public virtual InappproductsResource.GetRequest Get(string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Package name of the app. |
string | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.GetRequest |
Insert(InAppProduct, string)
Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See this article for more information.
Declaration
public virtual InappproductsResource.InsertRequest Insert(InAppProduct body, string packageName)
Parameters
Type | Name | Description |
---|---|---|
InAppProduct | body | The body of the request. |
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. This method should no longer be used to retrieve subscriptions. See this
article
for more information.
Declaration
public virtual InappproductsResource.ListRequest List(string packageName)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Package name of the app. |
Returns
Type | Description |
---|---|
InappproductsResource.ListRequest |
Patch(InAppProduct, string, string)
Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See this article for more information.
Declaration
public virtual InappproductsResource.PatchRequest Patch(InAppProduct body, string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
InAppProduct | body | The body of the request. |
string | packageName | Package name of the app. |
string | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.PatchRequest |
Update(InAppProduct, string, string)
Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See this article for more information.
Declaration
public virtual InappproductsResource.UpdateRequest Update(InAppProduct body, string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
InAppProduct | body | The body of the request. |
string | packageName | Package name of the app. |
string | sku | Unique identifier for the in-app product. |
Returns
Type | Description |
---|---|
InappproductsResource.UpdateRequest |