toJson method
Implementation
Map toJson() => {
'publicToken': publicToken,
'callbackSchema': callbackSchema,
'timeout': timeout,
'total': total,
'paymentId': paymentId,
'subtotal': subtotal,
'tax': tax,
'metadata1': metadata1,
'metadata2': metadata2,
'items': items,
'status': status,
'date': date,
'referenceNumber': referenceNumber,
'dailyTransactionID': dailyTransactionID,
'name': name,
'phoneNumber': phoneNumber,
'email': email,
'fee': fee,
'netAmount': netAmount,
};