Enhance billing logic: add REST support for manual and automated transactions, refine billing routes, adapt frontend API integration, and implement transaction type validation.
This commit is contained in:
+5
-2
@@ -44,7 +44,10 @@ object ApiRoutes {
|
||||
|
||||
object Billing {
|
||||
const val ROOT = "/api/v1/billing"
|
||||
const val KONTEN = "$ROOT/konten"
|
||||
fun buchungen(kontoId: String) = "$KONTEN/$kontoId/buchungen"
|
||||
fun konto(kontoId: String) = "$ROOT/konten/$kontoId"
|
||||
fun historie(kontoId: String) = "$ROOT/konten/$kontoId/historie"
|
||||
fun buche(kontoId: String) = "$ROOT/konten/$kontoId/buche"
|
||||
fun veranstaltungKonten(veranstaltungId: String) = "$ROOT/veranstaltungen/$veranstaltungId/konten"
|
||||
fun personKonto(veranstaltungId: String, personId: String) = "$ROOT/veranstaltungen/$veranstaltungId/personen/$personId"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user