paymentDetails.fromJson constructor
paymentDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
paymentDetails.fromJson(Map<String, dynamic> json) {
merchantId = json['merchant_id'];
username = json['username'];
password = json['password'];
apiKey = json['api_key'];
orderId = json['order_id'];
totalPrice = json['total_price'];
currencyCode = json['CurrencyCode'];
successUrl = json['success_url'];
errorUrl = json['error_url'];
testMode = json['test_mode'];
customerFName = json['customerFName'];
customerEmail = json['customerEmail'];
customerMobile = json['customerMobile'];
paymentGateway = json['payment_gateway'];
whitelabled = json['whitelabled'];
productTitle = json['ProductTitle'];
productName = json['ProductName'];
productPrice = json['ProductPrice'];
productQty = json['ProductQty'];
reference = json['Reference'];
notifyURL = json['notifyURL'];
}