toJson method

Map toJson()

Convert the pyament object to json.

Implementation

Map toJson() => {
      "MID": this.merchantID,
      "MSecret": this.merchantSecret,
      "NotifyUrl": this.notifyUrl,
      "Currency": this.currency,
      "Amount": this.amount,
      "OrderID": this.orderID,
      "ItemDesc": this.itemDesc,
      "CM1": this.cM1,
      "CM2": this.cM2,
      "FName": this.fName,
      "LName": this.lName,
      "EMail": this.email,
      "Phone": this.phone,
      "Address": this.address,
      "City": this.city,
      "Country": this.country,
      "DeliveryAddress": this.deliveryAddress,
      "DeliveryCity": this.deliveryCity,
      "DeliveryCountry": this.deliveryCountry,
      "MODE": this.mode
    };