encode static method
Implementation
static Map<String, dynamic> encode(Payment value) {
Map<String, dynamic> entityAsMap = {
"paymentDate" : value.paymentDate,
"paymentType" : value.paymentType == null ? null : PaymentType.encode(value.paymentType!),
"paid" : value.paid
};
return entityAsMap;
}