Show / Hide Table of Contents

Class MonetizationResource.SubscriptionsResource.BasePlansResource.MigratePricesRequest

Migrates subscribers who are receiving an historical subscription price to the currently-offered price for the specified region. Requests will cause price change notifications to be sent to users who are currently receiving an historical price older than the supplied timestamp. Subscribers who do not agree to the new price will have their subscription ended at the next renewal.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<MigrateBasePlanPricesResponse>
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>
MonetizationResource.SubscriptionsResource.BasePlansResource.MigratePricesRequest
Implements
IClientServiceRequest<MigrateBasePlanPricesResponse>
IClientServiceRequest
Inherited Members
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.Xgafv
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.AccessToken
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.Alt
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.Callback
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.Fields
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.Key
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.OauthToken
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.PrettyPrint
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.QuotaUser
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.UploadType
AndroidPublisherBaseServiceRequest<MigrateBasePlanPricesResponse>.UploadProtocol
ClientServiceRequest<MigrateBasePlanPricesResponse>.Execute()
ClientServiceRequest<MigrateBasePlanPricesResponse>.ExecuteAsStream()
ClientServiceRequest<MigrateBasePlanPricesResponse>.ExecuteAsync()
ClientServiceRequest<MigrateBasePlanPricesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<MigrateBasePlanPricesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<MigrateBasePlanPricesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<MigrateBasePlanPricesResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<MigrateBasePlanPricesResponse>.GenerateRequestUri()
ClientServiceRequest<MigrateBasePlanPricesResponse>.GetDefaultETagAction(String)
ClientServiceRequest<MigrateBasePlanPricesResponse>.ETagAction
ClientServiceRequest<MigrateBasePlanPricesResponse>.ModifyRequest
ClientServiceRequest<MigrateBasePlanPricesResponse>.ValidateParameters
ClientServiceRequest<MigrateBasePlanPricesResponse>.RequestParameters
ClientServiceRequest<MigrateBasePlanPricesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class 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
System.String packageName
System.String productId
System.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
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.MigrateBasePlanPricesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.MigrateBasePlanPricesResponse>.MethodName

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
System.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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.MigrateBasePlanPricesResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.MigrateBasePlanPricesResponse>.GetBody()

InitParameters()

Initializes MigratePrices parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v3.Data.MigrateBasePlanPricesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX