TransactPayApi constructor
Constructor for the TransactPayApi
class.
Accepts an apiKey
for authentication and an encryptionKey
for encrypting the request payload.
Implementation
TransactPayApi({
required this.apiKey,
required String encryptionKey,
}) : encryptionService = EncryptionService(encryptionKey: encryptionKey);