ShurjopayRequestModel class

Constructors

ShurjopayRequestModel({required ShurjopayConfigs configs, required String currency, required double amount, required String orderID, double? discountAmount, double? discountPercentage, required String customerName, required String customerPhoneNumber, String? customerEmail, required String customerAddress, required String customerCity, String? customerState, required String customerPostcode, String? customerCountry, required String returnURL, required String cancelURL, String? value1, String? value2, String? value3, String? value4})

Properties

amount double
Transaction amount
final
cancelURL String
final
configs ShurjopayConfigs
Pass prefix, user name, password and client ip as configs here
getter/setter pair
currency String
ISO format,(only BDT and USD are allowed)
final
customerAddress String
final
customerCity String
final
customerCountry String?
final
customerEmail String?
final
customerName String
final
customerPhoneNumber String
final
customerPostcode String
final
customerState String?
final
discountAmount double?
final
discountPercentage double?
final
hashCode int
The hash code for this object.
no setterinherited
orderID String
Unique Order Id from merchant store. Remember to use prefix before order id. Ex: if prefix is 'test' then order id should be test123456
final
returnURL String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value1 String?
Additional field
final
value2 String?
Additional field
final
value3 String?
Additional field
final
value4 String?
Additional field
final

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