OrderLineItem class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
OrderLineItem({Money? totalTaxMoney, Money? totalMoney, Money? totalDiscountMoney, Map<
String, String> ? metadata, String? uid, String? name, String? quantity, List<OrderLineItemAppliedDiscount> ? appliedDiscounts, List<OrderLineItemAppliedTax> ? appliedTaxes, Money? basePriceMoney, String? catalogObjectId, int? catalogVersion, Money? grossSalesMoney, String? itemType, List<OrderLineItemModifier> ? modifiers, String? note, OrderLineItemPricingBlocklists? pricingBlocklists, OrderQuantityUnit? quantityUnit, String? variationName, Money? variationTotalPriceMoney}) -
OrderLineItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
appliedDiscounts
→ List<
OrderLineItemAppliedDiscount> ? -
final
-
appliedTaxes
→ List<
OrderLineItemAppliedTax> ? -
final
- basePriceMoney → Money?
-
final
- catalogObjectId → String?
-
final
- catalogVersion → int?
-
final
- grossSalesMoney → Money?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemType → String?
-
final
-
metadata
→ Map<
String, String> ? -
final
-
modifiers
→ List<
OrderLineItemModifier> ? -
final
- name → String?
-
final
- note → String?
-
final
- pricingBlocklists → OrderLineItemPricingBlocklists?
-
final
- quantity → String?
-
final
- quantityUnit → OrderQuantityUnit?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalDiscountMoney → Money?
-
final
- totalMoney → Money?
-
final
- totalTaxMoney → Money?
-
final
- uid → String?
-
final
- variationName → String?
-
final
- variationTotalPriceMoney → Money?
-
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited