EasebuzzPaymentModel class
Constructors
-
EasebuzzPaymentModel.new({required String key, required String txnid, required double amount, required String productinfo, required String firstname, required String phone, required String email, required String surl, required String furl, String? hash, String? udf1, String? udf2, String? udf3, String? udf4, String? udf5, String? udf6, String? udf7, String? address1, String? address2, String? city, String? state, String? country, String? zipcode, String? showPaymentMode, String? splitPayments, String? requestFlow, String? subMerchantId, String? paymentCategory, String? accountNo, String? ifsc})
-
-
EasebuzzPaymentModel.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
accountNo
→ String?
-
Customer's account number for TPV validation.
final
-
address1
→ String?
-
Optional address field 1 for the customer's address.
final
-
address2
→ String?
-
Optional address field 2 for the customer's address.
final
-
amount
→ double
-
Payment amount for the transaction. Should be a float type.
final
-
city
→ String?
-
Customer's city for billing or shipping purposes.
final
-
country
→ String?
-
Customer's country for billing or shipping purposes.
final
-
email
→ String
-
Email ID of the customer for communication and receipts.
final
-
firstname
→ String
-
First name of the customer making the payment.
final
-
furl
→ String
-
Failure URL where the user will be redirected if the transaction fails.
final
-
hash
↔ String?
-
SHA512 encrypted hash for transaction security to prevent tampering.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ifsc
→ String?
-
Customer's IFSC code for TPV validation.
final
-
key
→ String
-
Unique Merchant Key provided by Easebuzz for identifying the merchant account.
final
-
paymentCategory
→ String?
-
For Third Party Validation (TPV) payments, specify the payment category.
final
-
phone
→ String
-
Phone number of the customer.
final
-
productinfo
→ String
-
This parameter should contain a brief product description. It should be a string describing the product (The description type is entirely your choice).Allowed characters : Letters, numbers,hyphen,space
Match pattern:^
a-zA-Z0-9-\s\|\-
*$
final
-
requestFlow
→ String?
-
For Seamless Payment, pass "SEAMLESS" to indicate the payment flow.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
showPaymentMode
→ String?
-
Details for displaying the payment mode to the user.
final
-
splitPayments
→ String?
-
Details for splitting the transaction amount across multiple accounts if enabled.
{ "Easebuzztest 1": 11.0, "Easebuzztest 2": 1.0 }
final
-
state
→ String?
-
Customer's state for billing or shipping purposes.
final
-
subMerchantId
→ String?
-
Submerchant ID for aggregator setup, mandatory if using an aggregator.
final
-
surl
→ String
-
Success URL where the user will be redirected after a successful transaction.
final
-
txnid
→ String
-
Transaction ID (Order ID) generated by the merchant to track the order. Must be unique for each transaction.
final
-
udf1
→ String?
-
User defined field 1 for any additional information related to the transaction.
final
-
udf2
→ String?
-
User defined field 2 for additional information.
final
-
udf3
→ String?
-
User defined field 3 for additional information.
final
-
udf4
→ String?
-
User defined field 4 for additional information.
final
-
udf5
→ String?
-
User defined field 5 for additional information.
final
-
udf6
→ String?
-
User defined field 6 for additional information.
final
-
udf7
→ String?
-
User defined field 7 for additional information.
final
-
zipcode
→ String?
-
Customer's zipcode for billing or shipping purposes.
final