HamroPayConfig.dev constructor
HamroPayConfig.dev({
- required String clientId,
- required String clientSecret,
- required String clientApiKey,
- required int transactionAmount,
- required String merchantId,
- required String merchantTransactionId,
- String serverUrl = ApiConstants.UAT_BASE_URL,
- List<
Product> ? products, - String? phoneNumber,
- String successRedirectionUrl = "https://hamropay_config/success",
- 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",
});