Class SubscriptionPurchaseLineItem
Item-level info for a subscription purchase.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class SubscriptionPurchaseLineItem : IDirectResponseSchema
Properties
AutoRenewingPlan
The item is auto renewing.
Declaration
[JsonProperty("autoRenewingPlan")]
public virtual AutoRenewingPlan AutoRenewingPlan { get; set; }
Property Value
| Type | Description |
|---|---|
| AutoRenewingPlan |
DeferredItemRemoval
Information for deferred item removal.
Declaration
[JsonProperty("deferredItemRemoval")]
public virtual DeferredItemRemoval DeferredItemRemoval { get; set; }
Property Value
| Type | Description |
|---|---|
| DeferredItemRemoval |
DeferredItemReplacement
Information for deferred item replacement.
Declaration
[JsonProperty("deferredItemReplacement")]
public virtual DeferredItemReplacement DeferredItemReplacement { get; set; }
Property Value
| Type | Description |
|---|---|
| DeferredItemReplacement |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiryTime
object representation of ExpiryTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpiryTimeDateTimeOffset instead.")]
public virtual object ExpiryTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ExpiryTimeDateTimeOffset
DateTimeOffset representation of ExpiryTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpiryTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ExpiryTimeRaw
Time at which the subscription expired or will expire unless the access is extended (ex. renews).
Declaration
[JsonProperty("expiryTime")]
public virtual string ExpiryTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ItemReplacement
Details of the item being replaced. This field is only populated if this item replaced another item in a previous subscription and is only available for 60 days after the purchase time.
Declaration
[JsonProperty("itemReplacement")]
public virtual ItemReplacement ItemReplacement { get; set; }
Property Value
| Type | Description |
|---|---|
| ItemReplacement |
LatestSuccessfulOrderId
The order id of the latest successful order associated with this item. Not present if the item is not owned by the user yet (e.g. the item being deferred replaced to).
Declaration
[JsonProperty("latestSuccessfulOrderId")]
public virtual string LatestSuccessfulOrderId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfferDetails
The offer details for this item.
Declaration
[JsonProperty("offerDetails")]
public virtual OfferDetails OfferDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| OfferDetails |
PrepaidPlan
The item is prepaid.
Declaration
[JsonProperty("prepaidPlan")]
public virtual PrepaidPlan PrepaidPlan { get; set; }
Property Value
| Type | Description |
|---|---|
| PrepaidPlan |
ProductId
The purchased product ID (for example, 'monthly001').
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SignupPromotion
Promotion details about this item. Only set if a promotion was applied during signup.
Declaration
[JsonProperty("signupPromotion")]
public virtual SignupPromotion SignupPromotion { get; set; }
Property Value
| Type | Description |
|---|---|
| SignupPromotion |