SumupPayment constructor
SumupPayment({})
Implementation
SumupPayment({
this.title,
required this.total,
this.currency = 'EUR',
this.tip = .0,
this.tipOnCardReader = false,
this.skipSuccessScreen = false,
this.skipFailureScreen = false,
this.foreignTransactionId,
this.saleItemsCount = 0,
this.customerEmail,
this.customerPhone,
}) : assert(!tipOnCardReader || tip == 0,
'If [tipOnCardReader] is true, [tip] must be zero. The two options are mutually exclusive.');