EcommerceTransactionItem class

Annotations

Constructors

EcommerceTransactionItem({String? itemId, String? sku, double? price, int? quantity, String? name, String? category, String? currency, Set<SelfDescribingJson> contexts = const {}})
Create a EcommerceTransactionItem
const

Properties

category String?
category Item category.
final
contexts Set<SelfDescribingJson>
contexts Attached contexts.
final
currency String?
currency Transaction currency.
final
hashCode int
The hash code for this object.
no setteroverride
itemId String?
itemId ID of the eCommerce transaction.
final
name String?
name Item name.
final
price double?
price Item price.
final
quantity int?
quantity Item quantity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String?
sku Item SKU.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the ecommerce transaction item object to JSON.
toString() String
A string representation of this object.
inherited

Operators

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