SuccessfulPayment constructor

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,
})

Basic constructor

Implementation

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