GoPayConfig constructor

const GoPayConfig({
  1. String baseUrl = 'https://gopay.gooomart.com',
  2. required String paymentApiKey,
  3. required String paymentSecretKey,
  4. String payoutApiKey = '',
  5. Duration timeout = const Duration(seconds: 30),
  6. int maxRetries = 2,
  7. Duration retryBaseDelay = const Duration(milliseconds: 300),
})

Crée une configuration GoPAY.

Implementation

const GoPayConfig({
  this.baseUrl = 'https://gopay.gooomart.com',
  required this.paymentApiKey,
  required this.paymentSecretKey,
  this.payoutApiKey = '',
  this.timeout = const Duration(seconds: 30),
  this.maxRetries = 2,
  this.retryBaseDelay = const Duration(milliseconds: 300),
});