ProxyArticleWorth class

Inheritance

Constructors

ProxyArticleWorth({required num price, required num cost, required double minimumUnitPerBasket, required int calibreId, required int articleId, required int id, required int proxyCalibreId, required int proxyArticleId, required double articleWeight, bool status = true})
ProxyArticleWorth.fromJson(String source)
factory
ProxyArticleWorth.fromMap(Map<String, dynamic> map)
factory
ProxyArticleWorth.getPriceAndCost(Iterable<Calibre<ArticleRawAbstract>> calibresInStore, ProxyArticle pNoPriceNoCost)
factory

Properties

articleId int
finalinherited
articleWeight double
finalinherited
calibreId int
finalinherited
cost num
final
costClean num
no setter
hashCode int
The hash code for this object.
no setteroverride
id int
finalinherited
minimumUnitPerBasket double
finalinherited
price num
final
priceClean num
no setter
productId int
no setterinherited
proxyArticleId int
finalinherited
proxyCalibreId int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
finalinherited
text String
no setterinherited
unitsInOnePiece double
no setterinherited

Methods

copyWith({int? price, int? cost, int? calibreId, int? articleId, int? id, int? proxyCalibreId, int? proxyArticleId, bool? status, double? minimumUnitPerBasket, double? articleWeight}) ProxyArticleWorth
override
getCost(Iterable<Calibre<ArticleRawAbstract>> linesInStore) num
inherited
getPrice(Iterable<Calibre<ArticleRawAbstract>> linesInStore) num
inherited
getProxyArticleWorth(Iterable<Calibre<ArticleRawAbstract>> linesInStore) ProxyArticleWorth
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
override
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

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

Static Properties

dummy → dynamic
no setter