features/OVPAY2294-vouchers-in-orders #45

Merged
MirjamHTM merged 10 commits from features/OVPAY2294-vouchers-in-orders into develop 2025-12-16 13:57:40 +00:00
Showing only changes of commit 55bac27561 - Show all commits

View File

@ -170,9 +170,9 @@ paths:
"description": "Betaling in behandeling", "description": "Betaling in behandeling",
}, },
], ],
"order_OrderVouchers": [ "orderVouchers": [
{ {
"order_OrderVoucherId": "399bd3b3-9721-4f09-a936-d64637de1621", "orderVoucherId": "399bd3b3-9721-4f09-a936-d64637de1621",
"issuedVoucher":{ "issuedVoucher":{
"issuedVoucherId": "a0996218-bc5e-4826-9020-cda98a32838d", "issuedVoucherId": "a0996218-bc5e-4826-9020-cda98a32838d",
Review

Even een checkvraag: kan DHIL zonder moeite tabellen uit een ander datamodel joinen in een CRUD?

Even een checkvraag: kan DHIL zonder moeite tabellen uit een ander datamodel joinen in een CRUD?
Review

Nou dat doen we natuurlijk al voor touchpoint onder andere, dus ik dacht misschien handig om dat hier gelijk te doen, maar ik zat te twijfelen of ik ook de status en claims moet meegeven, misschien alleen het issuedVoucher object.

Nou dat doen we natuurlijk al voor touchpoint onder andere, dus ik dacht misschien handig om dat hier gelijk te doen, maar ik zat te twijfelen of ik ook de status en claims moet meegeven, misschien alleen het issuedVoucher object.
Review

Ik zou de status en de claims weglaten idd.

Ik zou de status en de claims weglaten idd.
"voucherCode": "Voucher1234", "voucherCode": "Voucher1234",
@ -194,7 +194,7 @@ paths:
"orderLineId": null "orderLineId": null
}, },
{ {
"order_OrderVoucherId": "f6c7ac42-1811-4e4d-82af-53e18fe16110", "orderVoucherId": "f6c7ac42-1811-4e4d-82af-53e18fe16110",
"issuedVoucher":{ "issuedVoucher":{
"issuedVoucherId": "54668baf-4905-4e9a-af02-09c170f295ed", "issuedVoucherId": "54668baf-4905-4e9a-af02-09c170f295ed",
"voucherCode": "Voucher124", "voucherCode": "Voucher124",
@ -406,7 +406,7 @@ paths:
"description": "Concept order", "description": "Concept order",
}, },
], ],
"order_OrderVouchers": "orderVouchers":
[ [
{ {
"issuedVoucherId": "e81b2197-a6c2-45b6-9560-8ce8442e8604", "issuedVoucherId": "e81b2197-a6c2-45b6-9560-8ce8442e8604",
@ -533,7 +533,7 @@ paths:
"description": "Betaling in behandeling", "description": "Betaling in behandeling",
}, },
], ],
"order_OrderVouchers": null, "orderVouchers": null,
"orderLines": "orderLines":
[ [
{ {
@ -773,12 +773,12 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"order_orderVoucherId": "b9cf0096-4211-4be6-ac21-7bc34bc8e066", "orderVoucherId": "b9cf0096-4211-4be6-ac21-7bc34bc8e066",
} }
/ordervouchers: /ordervouchers:
parameters: parameters:
- in: query - in: query
name: order_OrderVoucherId name: orderVoucherId
schema: schema:
type: string type: string
format: uuid format: uuid
@ -814,15 +814,15 @@ paths:
example: example:
[ [
{ {
"order_OrderVoucherId": "19ef6882-8eda-43bf-b48e-9b4ff8745a50", "orderVoucherId": "19ef6882-8eda-43bf-b48e-9b4ff8745a50",
"orderId": "f59e4769-53a0-4156-8991-6f9119ba629f", "orderId": "f59e4769-53a0-4156-8991-6f9119ba629f",
"orderLineId": "eeb86071-4f59-405d-b2be-7d7a77044bfa" "orderLineId": "eeb86071-4f59-405d-b2be-7d7a77044bfa"
} }
] ]
/ordervouchers/{order_ordervoucherId}: /ordervouchers/{ordervoucherId}:
parameters: parameters:
- in: path - in: path
name: order_ordervoucherId name: ordervoucherId
schema: schema:
type: string type: string
format: uuid format: uuid
@ -853,7 +853,7 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"order_orderVoucherId": "b9cf0096-4211-4be6-ac21-7bc34bc8e066", "orderVoucherId": "b9cf0096-4211-4be6-ac21-7bc34bc8e066",
} }
delete: delete:
summary: Delete an order voucher. summary: Delete an order voucher.