GoogleApi.AndroidPublisher.V3.Model.Subscription (google_api_android_publisher v0.43.0)
View SourceA single subscription for an app.
Attributes
-
archived(type:boolean(), default:nil) - Output only. Deprecated: subscription archiving is not supported. -
basePlans(type:list(GoogleApi.AndroidPublisher.V3.Model.BasePlan.t), default:nil) - The set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply. -
listings(type:list(GoogleApi.AndroidPublisher.V3.Model.SubscriptionListing.t), default:nil) - Required. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app. -
packageName(type:String.t, default:nil) - Immutable. Package name of the parent app. -
productId(type:String.t, default:nil) - 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. -
restrictedPaymentCountries(type:GoogleApi.AndroidPublisher.V3.Model.RestrictedPaymentCountries.t, default:nil) - 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. -
taxAndComplianceSettings(type:GoogleApi.AndroidPublisher.V3.Model.SubscriptionTaxAndComplianceSettings.t, default:nil) - Details about taxes and legal compliance.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AndroidPublisher.V3.Model.Subscription{ archived: boolean() | nil, basePlans: [GoogleApi.AndroidPublisher.V3.Model.BasePlan.t()] | nil, listings: [GoogleApi.AndroidPublisher.V3.Model.SubscriptionListing.t()] | nil, packageName: String.t() | nil, productId: String.t() | nil, restrictedPaymentCountries: GoogleApi.AndroidPublisher.V3.Model.RestrictedPaymentCountries.t() | nil, taxAndComplianceSettings: GoogleApi.AndroidPublisher.V3.Model.SubscriptionTaxAndComplianceSettings.t() | nil }