toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'customerId'] = customerId;
json[r'description'] = description;
json[r'date'] = date!.toIso8601String();
json[r'value'] = value;
json[r'paymentMethod'] = paymentMethod;
return json;
}