HamroPayPage constructor

const HamroPayPage({
  1. Key? key,
  2. required String merchantTransactionId,
  3. required String merchantId,
  4. required String clientId,
  5. required String clientSecret,
  6. required String sessionId,
  7. required int transactionAmount,
  8. required String clientApiKey,
  9. required String serverUrl,
})

Implementation

const HamroPayPage({
  // this.pageContent,
  Key? key,
  required this.merchantTransactionId,
  required this.merchantId,
  required this.clientId,
  required this.clientSecret,
  required this.sessionId,
  required this.transactionAmount,
  required this.clientApiKey,
  required this.serverUrl, // Use serverUrl parameter
}) : super(key: key);