Class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.ActivateRequest
Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.ActivateRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.ActivateRequest : AndroidPublisherBaseServiceRequest<SubscriptionOffer>, IClientServiceRequest<SubscriptionOffer>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateSubscriptionOfferRequest, string, string, string, string)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateSubscriptionOfferRequest body, string packageName, string productId, string basePlanId, string offerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ActivateSubscriptionOfferRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId | |
string | offerId |
Properties
BasePlanId
Required. The parent base plan (ID) of the offer 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
OfferId
Required. The unique offer ID of the offer to activate.
Declaration
[RequestParameter("offerId", RequestParameterType.Path)]
public virtual string OfferId { get; }
Property Value
Type | Description |
---|---|
string |
PackageName
Required. The parent app (package name) of the offer 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 offer 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()