Class RegionalSubscriptionOfferPhaseConfig
Configuration for a single phase of a subscription offer in a single region.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class RegionalSubscriptionOfferPhaseConfig : IDirectResponseSchema
Properties
AbsoluteDiscount
The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for this region.
Declaration
[JsonProperty("absoluteDiscount")]
public virtual Money AbsoluteDiscount { get; set; }
Property Value
Type | Description |
---|---|
Money |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Free
Set to specify this offer is free to obtain.
Declaration
[JsonProperty("free")]
public virtual RegionalSubscriptionOfferPhaseFreePriceOverride Free { get; set; }
Property Value
Type | Description |
---|---|
RegionalSubscriptionOfferPhaseFreePriceOverride |
Price
The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for this region.
Declaration
[JsonProperty("price")]
public virtual Money Price { get; set; }
Property Value
Type | Description |
---|---|
Money |
RegionCode
Required. Immutable. The region to which this config applies.
Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
RelativeDiscount
The fraction of the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a 50% discount for a phase of a duration of 3 months would correspond to a price of $1.50. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region.
Declaration
[JsonProperty("relativeDiscount")]
public virtual double? RelativeDiscount { get; set; }
Property Value
Type | Description |
---|---|
double? |