HamroPayConfig.dev constructor

HamroPayConfig.dev({
  1. required String clientId,
  2. required String clientSecret,
  3. required String clientApiKey,
  4. required int transactionAmount,
  5. required String merchantId,
  6. required String merchantTransactionId,
  7. String serverUrl = ApiConstants.UAT_BASE_URL,
  8. List<Product>? products,
  9. String? phoneNumber,
  10. String successRedirectionUrl = "https://hamropay_config/success",
  11. String failedRedirectionUrl = "https://hamropay_config/failed",
})

Implementation

HamroPayConfig.dev({
  required this.clientId,
  required this.clientSecret,
  required this.clientApiKey,
  required this.transactionAmount,
  required this.merchantId,
  required this.merchantTransactionId,
  this.serverUrl = ApiConstants.UAT_BASE_URL,
  this.products,
  this.phoneNumber,
  this.successRedirectionUrl = "https://hamropay_config/success",
  this.failedRedirectionUrl = "https://hamropay_config/failed",
});