Show / Hide Table of Contents

Class OneTimeProductOfferRegionalPricingAndAvailabilityConfig

Regional pricing and availability configuration for a one-time product offer.

Inheritance
object
OneTimeProductOfferRegionalPricingAndAvailabilityConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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-1 alpha-2, e.g., "US".

Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
Type Description
string

RelativeDiscount

The percentage discount subtracted from the purchase option price, specified as a fraction strictly larger than 0 and strictly smaller than 1. For example, a value of 0.8 represents an 80% discount, meaning that if the purchase option price is $100, the offer price will be $20. 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?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX