Product class

A Product resource that defines a subscription service that can be resold.

Constructors

Product({ProductBundleDetails? bundleDetails, FiniteBillingCycleDetails? finiteBillingCycleDetails, String? name, List<ProductPriceConfig>? priceConfigs, String? productType, List<String>? regionCodes, Duration? subscriptionBillingCycleDuration, List<GoogleTypeLocalizedText>? titles})
Product.fromJson(Map json_)

Properties

bundleDetails ProductBundleDetails?
Specifies the details for a bundle product.
getter/setter pair
finiteBillingCycleDetails FiniteBillingCycleDetails?
Details for a subscription line item with finite billing cycles.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Identifier.
getter/setter pair
priceConfigs List<ProductPriceConfig>?
Price configs for the product in the available regions.
getter/setter pair
productType String?
Specifies the type of the product.
getter/setter pair
regionCodes List<String>?
2-letter ISO region code where the product is available in.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionBillingCycleDuration Duration?
Specifies the length of the billing cycle of the subscription.
getter/setter pair
titles List<GoogleTypeLocalizedText>?
Localized human readable name of the product.
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