toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (id != null) "id": encodeValue(id),
if (taxCode != null) "tax_code": encodeValue(taxCode),
if (customData != null) "custom_data": encodeValue(customData),
"fee": encodeValue(fee),
};