Class MonetizationResource.SubscriptionsResource.BasePlansResource.DeactivateRequest
Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.DeactivateRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.DeactivateRequest : AndroidPublisherBaseServiceRequest<Subscription>, IClientServiceRequest<Subscription>, IClientServiceRequest
Constructors
DeactivateRequest(IClientService, DeactivateBasePlanRequest, string, string, string)
Constructs a new Deactivate request.
Declaration
public DeactivateRequest(IClientService service, DeactivateBasePlanRequest body, string packageName, string productId, string basePlanId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeactivateBasePlanRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId |
Properties
BasePlanId
Required. The unique base plan ID of the base plan to deactivate.
Declaration
[RequestParameter("basePlanId", RequestParameterType.Path)]
public virtual string BasePlanId { get; }
Property Value
Type | Description |
---|---|
string |
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 base plan to deactivate.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. The parent subscription (ID) of the base plan to deactivate.
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Deactivate parameter list.
Declaration
protected override void InitParameters()