Class InstallmentsBasePlanType
Represents an installments base plan where a user commits to a specified number of payments.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InstallmentsBasePlanType : 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 |
CommittedPaymentsCount
Required. Immutable. The number of payments the user is committed to. It is immutable after the base plan is created.
Declaration
[JsonProperty("committedPaymentsCount")]
public virtual int? CommittedPaymentsCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
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 |
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 |
RenewalType
Required. Immutable. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. The renewal type is immutable after the base plan is created.
Declaration
[JsonProperty("renewalType")]
public virtual string RenewalType { 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 |