Class SchedulePlanTransitionRequest
Request for the purchases.subscriptionsv2.schedulePlanTransition API.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class SchedulePlanTransitionRequest : IDirectResponseSchema
Properties
DefiniteTransition
When using this mode, the user's transition to the new plan is definite, and cannot be canceled.
Declaration
[JsonProperty("definiteTransition")]
public virtual DefiniteTransition DefiniteTransition { get; set; }
Property Value
| Type | Description |
|---|---|
| DefiniteTransition |
ETag
If set, the API will fail if the etag does not match the latest etag for this subscription. The etag is retrieved from purchases.subscriptionsv2.get: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EarliestTransitionEffectiveTime
object representation of EarliestTransitionEffectiveTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EarliestTransitionEffectiveTimeDateTimeOffset instead.")]
public virtual object EarliestTransitionEffectiveTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
EarliestTransitionEffectiveTimeDateTimeOffset
DateTimeOffset representation of EarliestTransitionEffectiveTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EarliestTransitionEffectiveTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
EarliestTransitionEffectiveTimeRaw
Required. The earliest time at which the plan transition may take effect. The actual transition will take place at the time of renewal on or after this time.
Declaration
[JsonProperty("earliestTransitionEffectiveTime")]
public virtual string EarliestTransitionEffectiveTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The subscription product (for example, 'premium_plan') for which the transition must be scheduled.
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TentativeTransition
When using this mode, the user's transition to the new plan is tentative, and can be canceled.
Declaration
[JsonProperty("tentativeTransition")]
public virtual TentativeTransition TentativeTransition { get; set; }
Property Value
| Type | Description |
|---|---|
| TentativeTransition |