HamroPayConfig class
Constructors
-
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"})
-
-
HamroPayConfig.live({required String clientId, required String clientSecret, required String clientApiKey, required int transactionAmount, required String merchantId, required String merchantTransactionId, String serverUrl = ApiConstants.PROD_BASE_URL, List<Product>? products, String? phoneNumber, String successRedirectionUrl = "https://hamropay_config/success", String failedRedirectionUrl = "https://hamropay_config/failed"})
-
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited