PaymentReceipt constructor

const PaymentReceipt({
  1. required String title,
  2. required String description,
  3. Photo? photo,
  4. required int date,
  5. required int sellerBotUserId,
  6. required int paymentsProviderUserId,
  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.paymentsProviderUserId,
  required this.invoice,
  this.orderInfo,
  this.shippingOption,
  required this.credentialsTitle,
  required this.tipAmount,
  this.extra,
  this.clientId,
});