JSON method

String JSON()

Implementation

String JSON() {
  return json.encode({
    "commerceCode": this.commerceCode,
    "deviceId": this.deviceId,
    "mobile": this.mobile,
    "amount": this.amount,
    "order": this.order,
    "subject": this.subject,
    "method": this.method,
    "items": this.items,
    "contact": this.contact
  });
}