OneTimeProduct class

A single one-time product for an app.

Constructors

OneTimeProduct.new({List<OneTimeProductListing>? listings, List<OfferTag>? offerTags, String? packageName, String? productId, List<OneTimeProductPurchaseOption>? purchaseOptions, RegionsVersion? regionsVersion, RestrictedPaymentCountries? restrictedPaymentCountries, OneTimeProductTaxAndComplianceSettings? taxAndComplianceSettings})
OneTimeProduct.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
listings List<OneTimeProductListing>?
Set of localized title and description data.
getter/setter pair
offerTags List<OfferTag>?
List of up to 20 custom tags specified for this one-time product, and returned to the app through the billing library.
getter/setter pair
packageName String?
Package name of the parent app.
getter/setter pair
productId String?
Unique product ID of the product.
getter/setter pair
purchaseOptions List<OneTimeProductPurchaseOption>?
The set of purchase options for this one-time product.
getter/setter pair
regionsVersion RegionsVersion?
The version of the regions configuration that was used to generate the one-time product.
getter/setter pair
restrictedPaymentCountries RestrictedPaymentCountries?
Countries where the purchase of this one-time product is restricted to payment methods registered in the same country.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxAndComplianceSettings OneTimeProductTaxAndComplianceSettings?
Details about taxes and legal compliance.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited