PaymentForm constructor

const PaymentForm({
  1. required int id,
  2. required Invoice invoice,
  3. required String url,
  4. required int sellerBotUserId,
  5. required int paymentsProviderUserId,
  6. PaymentsProviderStripe? paymentsProvider,
  7. OrderInfo? savedOrderInfo,
  8. SavedCredentials? savedCredentials,
  9. required bool canSaveCredentials,
  10. required bool needPassword,
  11. dynamic extra,
  12. int? clientId,
})

Contains information about an invoice payment form

Implementation

const PaymentForm({
  required this.id,
  required this.invoice,
  required this.url,
  required this.sellerBotUserId,
  required this.paymentsProviderUserId,
  this.paymentsProvider,
  this.savedOrderInfo,
  this.savedCredentials,
  required this.canSaveCredentials,
  required this.needPassword,
  this.extra,
  this.clientId,
});