Class SubscriptionOffer
A single, temporary offer
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class SubscriptionOffer : IDirectResponseSchema
Properties
BasePlanId
Required. Immutable. The ID of the base plan to which this offer is an extension.
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
Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.
Declaration
[JsonProperty("offerId")]
public virtual string OfferId { get; set; }
Property Value
Type | Description |
---|---|
string |
OfferTags
List of up to 20 custom tags specified for this offer, and returned to the app through the billing library.
Declaration
[JsonProperty("offerTags")]
public virtual IList<OfferTag> OfferTags { get; set; }
Property Value
Type | Description |
---|---|
IList<OfferTag> |
OtherRegionsConfig
The configuration for any new locations Play may launch in the future.
Declaration
[JsonProperty("otherRegionsConfig")]
public virtual OtherRegionsSubscriptionOfferConfig OtherRegionsConfig { get; set; }
Property Value
Type | Description |
---|---|
OtherRegionsSubscriptionOfferConfig |
PackageName
Required. Immutable. The package name of the app the parent subscription belongs to.
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
Phases
Required. The phases of this subscription offer. Must contain at least one and at most two entries. Users will always receive all these phases in the specified order.
Declaration
[JsonProperty("phases")]
public virtual IList<SubscriptionOfferPhase> Phases { get; set; }
Property Value
Type | Description |
---|---|
IList<SubscriptionOfferPhase> |
ProductId
Required. Immutable. The ID of the parent subscription this offer belongs to.
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
Type | Description |
---|---|
string |
RegionalConfigs
Required. The region-specific configuration of this offer. Must contain at least one entry.
Declaration
[JsonProperty("regionalConfigs")]
public virtual IList<RegionalSubscriptionOfferConfig> RegionalConfigs { get; set; }
Property Value
Type | Description |
---|---|
IList<RegionalSubscriptionOfferConfig> |
State
Output only. The current state of this offer. Can be changed using Activate and Deactivate actions. NB: the base plan state supersedes this state, so an active offer may not be available if the base plan is not active.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Targeting
The requirements that users need to fulfil to be eligible for this offer. Represents the requirements that Play will evaluate to decide whether an offer should be returned. Developers may further filter these offers themselves.
Declaration
[JsonProperty("targeting")]
public virtual SubscriptionOfferTargeting Targeting { get; set; }
Property Value
Type | Description |
---|---|
SubscriptionOfferTargeting |