Class MonetizationResource.SubscriptionsResource.DeleteRequest
Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.
Inheritance
MonetizationResource.SubscriptionsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.DeleteRequest : AndroidPublisherBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string packageName, string productId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | packageName | |
string | productId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PackageName
Required. The parent app (package name) of the app of the subscription to delete.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. The unique product ID of the subscription to delete.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()