toJson method

Map toJson()

Implementation

Map toJson() => {
      'businessToken': businessToken,
      'callbackSchema': callbackSchema,
      'timeout': timeout,
      'total': total,
      'paymentId': paymentId,
      'subtotal': subtotal,
      'tax': tax,
      'metadata1': metadata1,
      'metadata2': metadata2,
      'itemsSelectedList': items,
      'items': items,
      'scheme': callbackSchema,
      'version': "3.0",
      'traceId': paymentId,
      'expiresIn': timeout,
      'phoneNumber': phoneNumber
    };