SplitPaymentStateResponse constructor

const SplitPaymentStateResponse({
  1. required String splitPaymentId,
  2. required double totalAmountPaid,
  3. required double totalAmountOutstanding,
  4. required double orderTotal,
  5. required String state,
  6. double? explicitTipAmount,
  7. required List<PaymentLegSummary> paymentLegs,
  8. String? lastRefundId,
})

Implementation

const SplitPaymentStateResponse({
  required this.splitPaymentId,
  required this.totalAmountPaid,
  required this.totalAmountOutstanding,
  required this.orderTotal,
  required this.state,
  this.explicitTipAmount,
  required this.paymentLegs,
  this.lastRefundId,
});