Show / Hide Table of Contents

Class InAppProduct

Inheritance
System.Object
InAppProduct
Implements
IDirectResponseSchema
Namespace: Google.Apis.AndroidPublisher.v2.Data
Assembly: Google.Apis.AndroidPublisher.v2.dll
Syntax
public class InAppProduct : object, IDirectResponseSchema

Properties

DefaultLanguage

The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".

Declaration
public virtual string DefaultLanguage { get; set; }
Property Value
Type Description
System.String

DefaultPrice

Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.

Declaration
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
System.String

GracePeriod

Grace period of the subscription, specified in ISO 8601 format. It will allow developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values = "P3D" (three days) and "P7D" (seven days)

Declaration
public virtual string GracePeriod { get; set; }
Property Value
Type Description
System.String

Listings

List of localized title and description data.

Declaration
public virtual IDictionary<string, InAppProductListing> Listings { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, InAppProductListing>

PackageName

The package name of the parent app.

Declaration
public virtual string PackageName { get; set; }
Property Value
Type Description
System.String

Prices

Prices per buyer region. None of these prices should be zero. In-app products can never be free.

Declaration
public virtual IDictionary<string, Price> Prices { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, Price>

PurchaseType

Purchase type enum value. Unmodifiable after creation.

Declaration
public virtual string PurchaseType { get; set; }
Property Value
Type Description
System.String

Sku

The stock-keeping-unit (SKU) of the product, unique within an app.

Declaration
public virtual string Sku { get; set; }
Property Value
Type Description
System.String

Status

Declaration
public virtual string Status { get; set; }
Property Value
Type Description
System.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
public virtual string SubscriptionPeriod { get; set; }
Property Value
Type Description
System.String

TrialPeriod

Trial period, specified in ISO 8601 format. Acceptable values are anything between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions cannot have a trial period.

Declaration
public virtual string TrialPeriod { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top