Show / Hide Table of Contents

Class Subscription

A single subscription for an app.

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

Properties

Archived

Output only. Deprecated: subscription archiving is not supported.

Declaration
[JsonProperty("archived")]
public virtual bool? Archived { get; set; }
Property Value
Type Description
bool?

BasePlans

The set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply.

Declaration
[JsonProperty("basePlans")]
public virtual IList<BasePlan> BasePlans { get; set; }
Property Value
Type Description
IList<BasePlan>

ETag

The ETag of the item.

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

Listings

Required. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app.

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

PackageName

Immutable. Package name of the parent app.

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

ProductId

Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.

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

RestrictedPaymentCountries

Optional. Countries where the purchase of this subscription 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 SubscriptionTaxAndComplianceSettings TaxAndComplianceSettings { get; set; }
Property Value
Type Description
SubscriptionTaxAndComplianceSettings

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX