PosVoucherType constructor

const PosVoucherType({
  1. required String id,
  2. required String name,
  3. required VoucherType kind,
  4. int? vatRateBp,
  5. required VoucherTypeAmount amount,
  6. required VoucherTypeValidity validity,
  7. required VoucherPayout payout,
  8. VoucherLabelTemplate? label,
  9. int order = 0,
  10. bool active = true,
  11. 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,
});