PosVoucherType constructor
const
PosVoucherType({
- required String id,
- required String name,
- required VoucherType kind,
- int? vatRateBp,
- required VoucherTypeAmount amount,
- required VoucherTypeValidity validity,
- required VoucherPayout payout,
- VoucherLabelTemplate? label,
- int order = 0,
- bool active = true,
- int soldCount = 0,
Implementation
const PosVoucherType({
required super.id,
required this.name,
required super.kind,
super.vatRateBp,
required super.amount,
required this.validity,
required this.payout,
this.label,
this.order = 0,
this.active = true,
this.soldCount = 0,
});