toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['token'] = token;
map['store_id'] = storeID;
map['prefix'] = prefix;
map['currency'] = currency;
map['amount'] = amount;
map['order_id'] = orderID;
map['discsount_amount'] = discountAmount;
map['disc_percent'] = discountPercentage;
map['client_ip'] = clientIP;
map['customer_name'] = customerName;
map['customer_phone'] = customerPhoneNumber;
map['customer_email'] = customerEmail;
map['customer_address'] = customerAddress;
map['customer_city'] = customerCity;
map['customer_state'] = customerState;
map['customer_postcode'] = customerPostcode;
map['customer_country'] = customerCountry;
map['return_url'] = returnURL;
map['cancel_url'] = cancelURL;
map['value1'] = value1;
map['value2'] = value2;
map['value3'] = value3;
map['value4'] = value4;
return map;
}