Show / Hide Table of Contents

Class OneTimeProduct

A single one-time product for an app.

Inheritance
object
OneTimeProduct
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 OneTimeProduct : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Listings

Required. Set of localized title and description data. Must not have duplicate entries with the same language_code.

Declaration
[JsonProperty("listings")]
public virtual IList<OneTimeProductListing> Listings { get; set; }
Property Value
Type Description
IList<OneTimeProductListing>

OfferTags

Optional. List of up to 20 custom tags specified for this one-time product, and returned to the app through the billing library. Purchase options and offers for this product will also receive these tags in the billing library.

Declaration
[JsonProperty("offerTags")]
public virtual IList<OfferTag> OfferTags { get; set; }
Property Value
Type Description
IList<OfferTag>

PackageName

Required. Immutable. Package name of the parent app.

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

ProductId

Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).

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

PurchaseOptions

Required. The set of purchase options for this one-time product.

Declaration
[JsonProperty("purchaseOptions")]
public virtual IList<OneTimeProductPurchaseOption> PurchaseOptions { get; set; }
Property Value
Type Description
IList<OneTimeProductPurchaseOption>

RegionsVersion

Output only. The version of the regions configuration that was used to generate the one-time product.

Declaration
[JsonProperty("regionsVersion")]
public virtual RegionsVersion RegionsVersion { get; set; }
Property Value
Type Description
RegionsVersion

RestrictedPaymentCountries

Optional. Countries where the purchase of this one-time product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.

Declaration
[JsonProperty("restrictedPaymentCountries")]
public virtual RestrictedPaymentCountries RestrictedPaymentCountries { get; set; }
Property Value
Type Description
RestrictedPaymentCountries

TaxAndComplianceSettings

Details about taxes and legal compliance.

Declaration
[JsonProperty("taxAndComplianceSettings")]
public virtual OneTimeProductTaxAndComplianceSettings TaxAndComplianceSettings { get; set; }
Property Value
Type Description
OneTimeProductTaxAndComplianceSettings

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX