Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'invoice'] = invoice; json[r'payment'] = payment; json[r'value'] = value; return json; }