MessageInvoice constructor

MessageInvoice({
  1. ProductInfo? productInfo,
  2. required String currency,
  3. required int totalAmount,
  4. required String startParameter,
  5. required bool isTest,
  6. required bool needShippingAddress,
  7. required int receiptMessageId,
  8. PaidMedia? paidMedia,
  9. FormattedText? paidMediaCaption,
})

Implementation

MessageInvoice({
  this.productInfo,
  required this.currency,
  required this.totalAmount,
  required this.startParameter,
  required this.isTest,
  required this.needShippingAddress,
  required this.receiptMessageId,
  this.paidMedia,
  this.paidMediaCaption,
});