Class OneTimeProductOfferRegionalPricingAndAvailabilityConfig
Regional pricing and availability configuration for a one-time product offer.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class OneTimeProductOfferRegionalPricingAndAvailabilityConfig : IDirectResponseSchema
Properties
AbsoluteDiscount
The absolute value of the discount that is subtracted from the purchase option price. It should be between 0 and the purchase option price.
Declaration
[JsonProperty("absoluteDiscount")]
public virtual Money AbsoluteDiscount { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |
Availability
Required. The availability for this region.
Declaration
[JsonProperty("availability")]
public virtual string Availability { 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 |
NoOverride
The price defined in the purchase option for this region will be used.
Declaration
[JsonProperty("noOverride")]
public virtual OneTimeProductOfferNoPriceOverrideOptions NoOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| OneTimeProductOfferNoPriceOverrideOptions |
RegionCode
Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US".
Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RelativeDiscount
The fraction of the purchase option price that the user pays for this offer. For example, if the purchase option price for this region is $12, then a 50% discount would correspond to a price of $6. 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? |