Class MonetizationResource.SubscriptionsResource.BasePlansResource.MigratePricesRequest
Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.MigratePricesRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.MigratePricesRequest : AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>, IClientServiceRequest<MigrateBasePlanPricesResponse>, IClientServiceRequest
Constructors
MigratePricesRequest(IClientService, MigrateBasePlanPricesRequest, string, string, string)
Constructs a new MigratePrices request.
Declaration
public MigratePricesRequest(IClientService service, MigrateBasePlanPricesRequest body, string packageName, string productId, string basePlanId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
MigrateBasePlanPricesRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId |
Properties
BasePlanId
Required. The unique base plan ID of the base plan to update prices on.
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. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource.
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 MigratePrices parameter list.
Declaration
protected override void InitParameters()