Class MonetizationResource.SubscriptionsResource.BasePlansResource.ActivateRequest
Activates a base plan. Once activated, base plans will be available to new subscribers.
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.ActivateRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.ActivateRequest : AndroidPublisherBaseServiceRequest<Subscription>, IClientServiceRequest<Subscription>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateBasePlanRequest, string, string, string)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateBasePlanRequest body, string packageName, string productId, string basePlanId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ActivateBasePlanRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId |
Properties
BasePlanId
Required. The unique base plan ID of the base plan to activate.
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 activate.
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 activate.
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 Activate parameter list.
Declaration
protected override void InitParameters()