SuccessfulPayment constructor

const SuccessfulPayment({
  1. required String currency,
  2. required int totalAmount,
  3. required String invoicePayload,
  4. String? shippingOptionId,
  5. OrderInfo? orderInfo,
  6. required String telegramPaymentChargeId,
  7. required String providerPaymentChargeId,
  8. bool? isRecurring,
  9. bool? isFirstRecurring,
})

Constructs a SuccessfulPayment object

Implementation

const SuccessfulPayment({
  required this.currency,
  required this.totalAmount,
  required this.invoicePayload,
  this.shippingOptionId,
  this.orderInfo,
  required this.telegramPaymentChargeId,
  required this.providerPaymentChargeId,
  this.isRecurring,
  this.isFirstRecurring,
});