ProductLineItemProduct class final

The product, price, and quantity snapshot embedded in an order line item.

Constructors

ProductLineItemProduct({required String id, String? productId, String? priceId, String? reference, String? about, CustomData? customData, String? taxCode, required String name, String? category, String? type, required Price price, required int quantity})
const
ProductLineItemProduct.fromJson(Map<String, Object?> json)
factory

Properties

about → String?
final
category → String?
final
customData → CustomData?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
name → String
final
price → Price
final
priceId → String?
final
productId → String?
final
quantity → int
final
reference → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxCode → String?
final
type → String?
final

Methods

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

Operators

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