Class PurchasesResource.Subscriptionsv2Resource
The "subscriptionsv2" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.Subscriptionsv2Resource
Constructors
Subscriptionsv2Resource(IClientService)
Constructs a new resource.
Declaration
public Subscriptionsv2Resource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string, string)
Get metadata about a subscription
Declaration
public virtual PurchasesResource.Subscriptionsv2Resource.GetRequest Get(string packageName, string token)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | The package of the application for which this subscription was purchased (for example, 'com.some.thing'). |
string | token | Required. The token provided to the user's device when the subscription was purchased. |
Returns
Type | Description |
---|---|
PurchasesResource.Subscriptionsv2Resource.GetRequest |
Revoke(RevokeSubscriptionPurchaseRequest, string, string)
Revoke a subscription purchase for the user.
Declaration
public virtual PurchasesResource.Subscriptionsv2Resource.RevokeRequest Revoke(RevokeSubscriptionPurchaseRequest body, string packageName, string token)
Parameters
Type | Name | Description |
---|---|---|
RevokeSubscriptionPurchaseRequest | body | The body of the request. |
string | packageName | Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing'). |
string | token | Required. The token provided to the user's device when the subscription was purchased. |
Returns
Type | Description |
---|---|
PurchasesResource.Subscriptionsv2Resource.RevokeRequest |