ZSProduct class

A product available for web checkout via ZeroSettle.

Constructors

ZSProduct({required String id, required String displayName, required String productDescription, required ZSProductType type, required Price webPrice, Price? appStorePrice, bool syncedToASC = false, Promotion? promotion, bool storeKitAvailable = false, Price? storeKitPrice, int? savingsPercent})
const
ZSProduct.fromMap(Map<String, dynamic> map)
factory

Properties

appStorePrice Price?
final
displayName String
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
productDescription String
final
promotion Promotion?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savingsPercent int?
final
storeKitAvailable bool
final
storeKitPrice Price?
final
syncedToASC bool
final
type ZSProductType
final
webPrice Price
final

Methods

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

Operators

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