InAppProduct class


InAppProduct.fromJson(Map _json)


defaultLanguage ↔ String
The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
read / write
defaultPrice Price
Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.
read / write
gracePeriod ↔ String
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)
read / write
listings ↔ Map<String, InAppProductListing>
List of localized title and description data.
read / write
packageName ↔ String
The package name of the parent app.
read / write
prices ↔ Map<String, Price>
Prices per buyer region. None of these prices should be zero. In-app products can never be free.
read / write
purchaseType ↔ String
Purchase type enum value. Unmodifiable after creation.
read / write
season Season
Definition of a season for a seasonal subscription. Can be defined only for yearly subscriptions.
read / write
sku ↔ String
The stock-keeping-unit (SKU) of the product, unique within an app.
read / write
status ↔ String
read / write
subscriptionPeriod ↔ String
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).
read / write
trialPeriod ↔ String
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.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.