PaymentReceipt constructor

const PaymentReceipt({
  1. required String title,
  2. required FormattedText description,
  3. Photo? photo,
  4. required int date,
  5. required int sellerBotUserId,
  6. required int paymentProviderUserId,
  7. required Invoice invoice,
  8. OrderInfo? orderInfo,
  9. ShippingOption? shippingOption,
  10. required String credentialsTitle,
  11. required int tipAmount,
  12. dynamic extra,
  13. int? clientId,
})

Contains information about a successful payment

Implementation

const PaymentReceipt({
  required this.title,
  required this.description,
  this.photo,
  required this.date,
  required this.sellerBotUserId,
  required this.paymentProviderUserId,
  required this.invoice,
  this.orderInfo,
  this.shippingOption,
  required this.credentialsTitle,
  required this.tipAmount,
  this.extra,
  this.clientId,
});