PosArticle constructor
const
PosArticle({
- required String id,
- required String name,
- required String unit,
- required bool visible,
- required int sort,
- required bool active,
- int? unitPriceCents,
- num? vatRate,
- String? groupId,
- String? revenueGroupId,
- QuantityRule? quantityRule,
- bool? askQuantity,
- num? maxQuantity,
- List<
String> ? stockLocationIds, - String? number,
- String? ean,
- String? internalCode,
- bool? stockTracked,
- bool serviceVoucher = false,
- bool askPrice = false,
- PosReference? reference,
- List<
String> ? addOns, - ArticleExternalVoucher? externalVoucher,
- List<
DepositEntry> ? deposits,
Implementation
const PosArticle({
required this.id,
required this.name,
required this.unit,
required this.visible,
required this.sort,
required this.active,
this.unitPriceCents,
this.vatRate,
this.groupId,
this.revenueGroupId,
this.quantityRule,
this.askQuantity,
this.maxQuantity,
this.stockLocationIds,
this.number,
this.ean,
this.internalCode,
this.stockTracked,
this.serviceVoucher = false,
this.askPrice = false,
this.reference,
this.addOns,
this.externalVoucher,
this.deposits,
});