Class InAppProduct
An in-app product. The resource for InappproductsService.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InAppProduct : IDirectResponseSchema
Properties
DefaultLanguage
Default language of the localized data, as defined by BCP-47. e.g. "en-US".
Declaration
[JsonProperty("defaultLanguage")]
public virtual string DefaultLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultPrice
Default price. Cannot be zero, as in-app products are never free. Always in the developer's Checkout merchant currency.
Declaration
[JsonProperty("defaultPrice")]
public virtual Price DefaultPrice { get; set; }
Property Value
Type | Description |
---|---|
Price |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GracePeriod
Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
Declaration
[JsonProperty("gracePeriod")]
public virtual string GracePeriod { get; set; }
Property Value
Type | Description |
---|---|
string |
Listings
List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. "en-US".
Declaration
[JsonProperty("listings")]
public virtual IDictionary<string, InAppProductListing> Listings { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, InAppProductListing> |
ManagedProductTaxesAndComplianceSettings
Details about taxes and legal compliance. Only applicable to managed products.
Declaration
[JsonProperty("managedProductTaxesAndComplianceSettings")]
public virtual ManagedProductTaxAndComplianceSettings ManagedProductTaxesAndComplianceSettings { get; set; }
Property Value
Type | Description |
---|---|
ManagedProductTaxAndComplianceSettings |
PackageName
Package name of the parent app.
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
Prices
Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
Declaration
[JsonProperty("prices")]
public virtual IDictionary<string, Price> Prices { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, Price> |
PurchaseType
The type of the product, e.g. a recurring subscription.
Declaration
[JsonProperty("purchaseType")]
public virtual string PurchaseType { get; set; }
Property Value
Type | Description |
---|---|
string |
Sku
Stock-keeping-unit (SKU) of the product, unique within an app.
Declaration
[JsonProperty("sku")]
public virtual string Sku { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The status of the product, e.g. whether it's active.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
SubscriptionPeriod
Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
Declaration
[JsonProperty("subscriptionPeriod")]
public virtual string SubscriptionPeriod { get; set; }
Property Value
Type | Description |
---|---|
string |
SubscriptionTaxesAndComplianceSettings
Details about taxes and legal compliance. Only applicable to subscription products.
Declaration
[JsonProperty("subscriptionTaxesAndComplianceSettings")]
public virtual SubscriptionTaxAndComplianceSettings SubscriptionTaxesAndComplianceSettings { get; set; }
Property Value
Type | Description |
---|---|
SubscriptionTaxAndComplianceSettings |
TrialPeriod
Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
Declaration
[JsonProperty("trialPeriod")]
public virtual string TrialPeriod { get; set; }
Property Value
Type | Description |
---|---|
string |