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"})

Properties

clientApiKey String
getter/setter pair
clientId String
getter/setter pair
clientSecret String
getter/setter pair
failedRedirectionUrl String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
merchantId String
getter/setter pair
merchantTransactionId String
getter/setter pair
phoneNumber String?
getter/setter pair
products List<Product>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverUrl String
getter/setter pair
successRedirectionUrl String
getter/setter pair
transactionAmount int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited