Tender constructor

const Tender({
  1. required TenderType type,
  2. String? id,
  3. String? locationId,
  4. String? transactionId,
  5. DateTime? createdAt,
  6. String? note,
  7. Money? amountMoney,
  8. Money? tipMoney,
  9. Money? processingFeeMoney,
  10. String? customerId,
  11. TenderCardDetails? cardDetails,
  12. TenderCashDetails? cashDetails,
  13. List<AdditionalRecipient>? additionalRecipients,
})

Implementation

const Tender({
  required this.type,
  this.id,
  this.locationId,
  this.transactionId,
  this.createdAt,
  this.note,
  this.amountMoney,
  this.tipMoney,
  this.processingFeeMoney,
  this.customerId,
  this.cardDetails,
  this.cashDetails,
  this.additionalRecipients,
});