Class AutoRenewingBasePlanType
Represents a base plan that automatically renews at the end of its subscription period.
Implements
Inherited Members
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 in the range P0D (zero days) to P30D (30 days). If not specified, the default value is P30D (30 days).
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 are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
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 |