Class SubscriptionDetails
Details of a subscription purchase.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class SubscriptionDetails : IDirectResponseSchema
Properties
BasePlanId
The base plan ID of the subscription.
Declaration
[JsonProperty("basePlanId")]
public virtual string BasePlanId { 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 |
OfferId
The offer ID for the current subscription offer.
Declaration
[JsonProperty("offerId")]
public virtual string OfferId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfferPhase
The pricing phase for the billing period funded by this order.
Declaration
[JsonProperty("offerPhase")]
public virtual string OfferPhase { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServicePeriodEndTime
object representation of ServicePeriodEndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ServicePeriodEndTimeDateTimeOffset instead.")]
public virtual object ServicePeriodEndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ServicePeriodEndTimeDateTimeOffset
DateTimeOffset representation of ServicePeriodEndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ServicePeriodEndTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ServicePeriodEndTimeRaw
The end of the billing period funded by this order. This is a snapshot of the billing/service period end time at the moment the order was processed, and should be used only for accounting. To get the current end time of the subscription service period, use purchases.subscriptionsv2.get.
Declaration
[JsonProperty("servicePeriodEndTime")]
public virtual string ServicePeriodEndTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServicePeriodStartTime
object representation of ServicePeriodStartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ServicePeriodStartTimeDateTimeOffset instead.")]
public virtual object ServicePeriodStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ServicePeriodStartTimeDateTimeOffset
DateTimeOffset representation of ServicePeriodStartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ServicePeriodStartTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ServicePeriodStartTimeRaw
The start of the billing period funded by this order. This is a snapshot of the billing/service period start time at the moment the order was processed, and should be used only for accounting.
Declaration
[JsonProperty("servicePeriodStartTime")]
public virtual string ServicePeriodStartTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |