Constructors
-
EsewaConfigModel.new(bool isLive)
-
-
EsewaConfigModel.live({required String merchantId, required double amount, required double taxAmount, double? serviceCharge, required String successUrl, required String failureUrl, required String productId, double? deliveryCharge})
-
factory
-
EsewaConfigModel.sandbox({required double amount, required double taxAmount, double? serviceCharge, required String successUrl, required String failureUrl, required String productId, double? deliveryCharge})
-
factory
Properties
-
amount
→ double
-
Merchant code provided by eSewa
Amount of product or item or ticket etc
no setter
-
baseUrl
→ String
-
no setter
-
deliveryCharge
→ double?
-
Delivery charge by merchant on product or item or ticket etc
no setter
-
failureUrl
→ String
-
Failure URL: a redirect URL of merchant application where customer will be redirected after FAILURE or PENDING transaction
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isLive
→ bool
-
final
-
merchantId
→ String
-
no setter
-
productId
→ String
-
A unique ID of product or item or ticket etc
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceCharge
→ double?
-
Service charge by merchant on product or item or ticket etc
no setter
-
successUrl
→ String
-
Success URL: a redirect URL of merchant application where customer will be redirected after SUCCESSFUL transaction
no setter
-
taxAmount
→ double
-
Tax amount on product or item or ticket etc
no setter
-
totalAmount
→ double
-
Total payment amount including tax, service and deliver charge.
i.e tAmt = amt + txAmt + psc + tAmt
no setter
-
uri
→ Uri
-
URL request to be used in InAppWebView
no setter
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited