toJson method

Map<String, dynamic> toJson()

Implementation

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