OrderItem class

Constructors

OrderItem.new(String? description, num? quantity, num? price_unit, num? discount, num? taxes, num? product_reference, String? name, num? amount_total)
OrderItem.empty()
factory
OrderItem.fromJson(Map<String, dynamic> json)
factory

Properties

amount_total num?
final
description String?
final
discount num?
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
price_unit num?
final
product_reference num?
final
quantity num?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxes num?
final

Methods

copyWith({String? description, num? quantity, num? price_unit, num? discount, num? taxes, num? product_reference, String? name, num? amount_total}) OrderItem
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.
inherited