GoPayConfig class
Configuration requise pour instancier GoPayClient.
Constructors
- GoPayConfig({String baseUrl = 'https://gopay.gooomart.com', required String paymentApiKey, required String paymentSecretKey, String payoutApiKey = '', Duration timeout = const Duration(seconds: 30), int maxRetries = 2, Duration retryBaseDelay = const Duration(milliseconds: 300)})
-
Crée une configuration GoPAY.
const
Properties
- baseUrl → String
-
URL de base de la passerelle GoPAY (HTTPS obligatoire).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRetries → int
-
Nombre de nouvelles tentatives pour les requêtes GET en cas d'erreur transitoire.
final
- paymentApiKey → String
-
Clé API Marchand pour les paiements.
final
- paymentSecretKey → String
-
Secret de signature HMAC-SHA256.
final
- payoutApiKey → String
-
Clé API Marchand pour les transferts sortants (Payout).
Optionnelle pour les applications clientes purement de paiement.
final
- retryBaseDelay → Duration
-
Délai de base pour l'attente exponentielle (backoff).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
Délai maximal d'attente réseau par tentative.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited