Show / Hide Table of Contents

Class InAppProduct

An in-app product. The resource for InappproductsService.

Inheritance
object
InAppProduct
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 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

Deprecated: Subscriptions are no longer supported in the InAppProducts API. Use the Subscriptions API instead.

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

Deprecated: Subscriptions are no longer supported in the InAppProducts API. Use the Subscriptions API instead.

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

SubscriptionTaxesAndComplianceSettings

Deprecated: Subscriptions are no longer supported in the InAppProducts API. Use the Subscriptions API instead.

Declaration
[JsonProperty("subscriptionTaxesAndComplianceSettings")]
public virtual SubscriptionTaxAndComplianceSettings SubscriptionTaxesAndComplianceSettings { get; set; }
Property Value
Type Description
SubscriptionTaxAndComplianceSettings

TrialPeriod

Deprecated: Subscriptions are no longer supported in the InAppProducts API. Use the Subscriptions API instead.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX