Show / Hide Table of Contents

Class AutoRenewingBasePlanType

Represents a base plan that automatically renews at the end of its subscription period.

Inheritance
object
AutoRenewingBasePlanType
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class AutoRenewingBasePlanType : IDirectResponseSchema

Properties

AccountHoldDuration

Optional. Account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. If not specified, the default value is P30D. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.

Declaration
[JsonProperty("accountHoldDuration")]
public virtual string AccountHoldDuration { get; set; }
Property Value
Type Description
string

BillingPeriodDuration

Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created.

Declaration
[JsonProperty("billingPeriodDuration")]
public virtual string BillingPeriodDuration { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GracePeriodDuration

Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.

Declaration
[JsonProperty("gracePeriodDuration")]
public virtual string GracePeriodDuration { get; set; }
Property Value
Type Description
string

LegacyCompatible

Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.

Declaration
[JsonProperty("legacyCompatible")]
public virtual bool? LegacyCompatible { get; set; }
Property Value
Type Description
bool?

LegacyCompatibleSubscriptionOfferId

Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.

Declaration
[JsonProperty("legacyCompatibleSubscriptionOfferId")]
public virtual string LegacyCompatibleSubscriptionOfferId { get; set; }
Property Value
Type Description
string

ProrationMode

The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.

Declaration
[JsonProperty("prorationMode")]
public virtual string ProrationMode { get; set; }
Property Value
Type Description
string

ResubscribeState

Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.

Declaration
[JsonProperty("resubscribeState")]
public virtual string ResubscribeState { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX