16 Commits
Author SHA1 Message Date
bboterm cb6f1f6f48 OVPAY-1116 - Added missing fields. 2024-11-18 14:05:08 +01:00
bboterm 85c9872e19 Merge pull request 'develop' (#5) from develop into main
Reviewed-on: #5
2024-11-07 12:43:22 +00:00
bboterm 35063ab2ee Merge branch 'main' into develop 2024-11-07 12:43:16 +00:00
bboterm f45d83e3e3 Merge pull request 'feature/OVPAY-1126' (#2) from feature/OVPAY-1126 into develop
Reviewed-on: #2
2024-11-07 12:42:22 +00:00
bboterm 0f5fb627cd OVPAY-1126 - Filled patch /orders. 2024-11-07 13:41:53 +01:00
bboterm 989b47a2d1 Add address as single entity to order customer. 2024-11-07 10:36:13 +01:00
bboterm e242e4db54 OVPAY-1126 - Renamed tag v2 to v2.1. 2024-11-06 16:18:44 +01:00
bboterm 9be5af4886 OVPAY-1126 - Added fulfillment for SMP. 2024-11-06 16:16:24 +01:00
bboterm aa0d341b24 Merge branch 'feature/OVPAY-1126' of https://git.integratielaag.nl/HTM/ovpay into feature/OVPAY-1126 2024-11-06 15:54:12 +01:00
bboterm 40da8531ed OVPAY-1172 - Return current state of order object in fulfillment v2. 2024-11-06 15:53:26 +01:00
bboterm bb478aa231 OVPAY-1126 - Specified endpoints for Order Creation and Order Retrieval for touch point. 2024-11-06 15:53:26 +01:00
bboterm 7174f2942a OVPAY-1126 - Added deletes on order and order line. 2024-11-06 15:53:26 +01:00
bboterm 836a884cfd OVPAY-1172 - Return current state of order object in fulfillment v2. 2024-11-04 15:55:50 +01:00
bboterm 2b53158117 OVPAY-1126 - Specified endpoints for Order Creation and Order Retrieval for touch point. 2024-10-25 11:24:36 +02:00
bboterm 197f1e07f6 OVPAY-1126 - Payments should always be added in single. 2024-10-25 09:57:04 +02:00
bboterm aac4254e2e OVPAY-1126 - Added deletes on order and order line. 2024-10-24 17:48:56 +02:00
3 changed files with 1106 additions and 83 deletions

No files matched your search

+19 -5
View File
@@ -671,6 +671,14 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" } example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" }
delete:
summary: RFU. Delete an order.
description: Delete an order.
tags:
- Order
responses:
"200":
description: OK
/orders/{orderId}/statuses: /orders/{orderId}/statuses:
parameters: parameters:
- in: path - in: path
@@ -1158,6 +1166,14 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: { "orderLineId": "ee82686a-a9f6-4888-b336-8e2aab6f4e13" } example: { "orderLineId": "ee82686a-a9f6-4888-b336-8e2aab6f4e13" }
delete:
summary: RFU. Delete an order line.
description: Delete an order line.
tags:
- Order Line
responses:
"200":
description: OK
/orderlines/{orderLineId}/accountingstatuses: /orderlines/{orderLineId}/accountingstatuses:
parameters: parameters:
- in: path - in: path
@@ -1988,8 +2004,8 @@ paths:
required: true required: true
description: The id of the customer on the order. description: The id of the customer on the order.
post: post:
summary: P3. Add one or more addresses to a customer of the order. summary: P3. Add an addresses to a customer of the order.
description: Add one or more addresses to a customer of the order. description: Add an addresses to a customer of the order.
tags: tags:
- Customer - Customer
requestBody: requestBody:
@@ -1998,7 +2014,6 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
[
{ {
"addressTypeId": 1, "addressTypeId": 1,
"street": "Kon. Julianaplein", "street": "Kon. Julianaplein",
@@ -2007,8 +2022,7 @@ paths:
"postalCode": "2595 AA", "postalCode": "2595 AA",
"city": "Den Haag", "city": "Den Haag",
"country": "NL", "country": "NL",
}, }
]
responses: responses:
"201": "201":
description: Created description: Created
File diff suppressed because it is too large. Load diff
@@ -21,7 +21,7 @@ paths:
required: false required: false
description: The technical id of the product. description: The technical id of the product.
- in: query - in: query
name: createdBefore name: createdOnBefore
schema: schema:
type: string type: string
format: date-time format: date-time
@@ -29,7 +29,7 @@ paths:
required: false required: false
description: The purchased product should be created before this timestamp. description: The purchased product should be created before this timestamp.
- in: query - in: query
name: createdAfter name: createdOnAfter
schema: schema:
type: string type: string
format: date-time format: date-time
@@ -37,7 +37,7 @@ paths:
required: false required: false
description: The purchased product should be created after this timestamp. description: The purchased product should be created after this timestamp.
- in: query - in: query
name: lastUpdatedBefore name: lastUpdatedOnBefore
schema: schema:
type: string type: string
format: date-time format: date-time
@@ -45,7 +45,7 @@ paths:
required: false required: false
description: The purchased product should be last updated before this timestamp. description: The purchased product should be last updated before this timestamp.
- in: query - in: query
name: lastUpdatedAfter name: lastUpdatedOnAfter
schema: schema:
type: string type: string
format: date-time format: date-time
@@ -101,12 +101,18 @@ paths:
"purchasedGboProductId": "a9b3dea5-fb8a-4b1e-9fe6-90cad31c0cfd", "purchasedGboProductId": "a9b3dea5-fb8a-4b1e-9fe6-90cad31c0cfd",
"salesTimestamp": "2024-10-04T12:34:56.000", "salesTimestamp": "2024-10-04T12:34:56.000",
"refundTimestamp": "2024-10-04T12:34:56.000", "refundTimestamp": "2024-10-04T12:34:56.000",
"fromInclusive": "2024-10-04T12:34:56.000",
"unitilInclusive": "2024-10-04T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b", "xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b",
"xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8", "xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8",
"xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b", "xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b",
"customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f", "customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f",
"ovPayTokenId": 13, "ovPayTokenId": 13,
"createdOn": "2024-10-04T12:34:56.000",
"lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
}, },
], ],
}, },
@@ -144,12 +150,18 @@ paths:
{ {
"salesTimestamp": "2024-10-04T12:34:56.000", "salesTimestamp": "2024-10-04T12:34:56.000",
"refundTimestamp": "2024-10-04T12:34:56.000", "refundTimestamp": "2024-10-04T12:34:56.000",
"fromInclusive": "2024-10-04T12:34:56.000",
"unitilInclusive": "2024-10-04T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b", "xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b",
"xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8", "xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8",
"xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b", "xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b",
"customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f", "customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f",
"ovPayTokenId": 13, "ovPayTokenId": 13,
"createdOn": "2024-10-04T12:34:56.000",
"lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
}, },
], ],
} }
@@ -208,12 +220,18 @@ paths:
{ {
"salesTimestamp": "2024-10-04T12:34:56.000", "salesTimestamp": "2024-10-04T12:34:56.000",
"refundTimestamp": "2024-10-04T12:34:56.000", "refundTimestamp": "2024-10-04T12:34:56.000",
"fromInclusive": "2024-10-04T12:34:56.000",
"unitilInclusive": "2024-10-04T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b", "xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b",
"xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8", "xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8",
"xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b", "xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b",
"customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f", "customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f",
"ovPayTokenId": 13, "ovPayTokenId": 13,
"createdOn": "2024-10-04T12:34:56.000",
"lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
}, },
], ],
} }
@@ -300,12 +318,18 @@ paths:
{ {
"salesTimestamp": "2024-10-04T12:34:56.000", "salesTimestamp": "2024-10-04T12:34:56.000",
"refundTimestamp": "2024-10-04T12:34:56.000", "refundTimestamp": "2024-10-04T12:34:56.000",
"fromInclusive": "2024-10-04T12:34:56.000",
"unitilInclusive": "2024-10-04T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b", "xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b",
"xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8", "xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8",
"xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b", "xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b",
"customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f", "customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f",
"ovPayTokenId": 13, "ovPayTokenId": 13,
"createdOn": "2024-10-04T12:34:56.000",
"lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
} }
responses: responses:
"201": "201":
@@ -367,6 +391,34 @@ paths:
format: date-time format: date-time
example: 2024-10-04T12:34:56.000 example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be refunded after this timestamp. description: The purchased GBO product should be refunded after this timestamp.
- in: query
name: fromInclusiveBefore
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be valid before this timestamp.
- in: query
name: fromInclusiveAfter
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be valid after this timestamp.
- in: query
name: unitilInclusiveBefore
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be valid before this timestamp.
- in: query
name: unitilInclusiveAfter
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be valid after this timestamp.
- in: query - in: query
name: packageTemplateId name: packageTemplateId
schema: schema:
@@ -408,6 +460,46 @@ paths:
type: integer type: integer
example: 13 example: 13
description: The id of the ov pay token. description: The id of the ov pay token.
- in: query
name: createdOnBefore
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be created before this timestamp.
- in: query
name: createdOnAfter
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be created after this timestamp.
- in: query
name: lastUpdatedOnBefore
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be updated before this timestamp.
- in: query
name: lastUpdatedOnAfter
schema:
type: string
format: date-time
example: 2024-10-04T12:34:56.000
description: The purchased GBO product should be updated after this timestamp.
- in: query
name: createdBy
schema:
type: string
example: someuser
description: The user that created the purchased GBO product.
- in: query
name: lastUpdatedBy
schema:
type: string
example: someuser
description: The user that last updated the purchased GBO product.
responses: responses:
"201": "201":
description: Created description: Created
@@ -422,24 +514,36 @@ paths:
"purchasedProductId": "9e166bb3-806a-4f43-a7a2-0d5b1e90e0c3", "purchasedProductId": "9e166bb3-806a-4f43-a7a2-0d5b1e90e0c3",
"salesTimestamp": "2024-10-04T12:34:56.000", "salesTimestamp": "2024-10-04T12:34:56.000",
"refundTimestamp": "2024-10-05T12:34:56.000", "refundTimestamp": "2024-10-05T12:34:56.000",
"fromInclusive": "2024-10-04T12:34:56.000",
"unitilInclusive": "2024-10-05T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b", "xBot": "f15efe6f-7353-4968-b134-60ba6fc2da8b",
"xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8", "xTat": "42efebf7-132e-4ee0-9cbb-4037a9a54ad8",
"xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b", "xSpit": "d67b2f72-918a-4e6c-957d-a39ed9c9e16b",
"customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f", "customerTokenId": "b6492322-c458-4857-9ac3-a109c1887b9f",
"ovPayTokenId": 13, "ovPayTokenId": 13,
"createdOn": "2024-10-04T12:34:56.000",
"lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
}, },
{ {
"purchasedGboProductId": 431e481f-4330-4ad4-be47-393db38cfe38, "purchasedGboProductId": 431e481f-4330-4ad4-be47-393db38cfe38,
"purchasedProductId": "9e166bb3-806a-4f43-a7a2-0d5b1e90e0c3", "purchasedProductId": "9e166bb3-806a-4f43-a7a2-0d5b1e90e0c3",
"salesTimestamp": "2024-10-05T12:34:56.000", "salesTimestamp": "2024-10-05T12:34:56.000",
"refundTimestamp": "2024-10-06T12:34:56.000", "refundTimestamp": "2024-10-06T12:34:56.000",
"fromInclusive": "2024-10-05T12:34:56.000",
"unitilInclusive": "2024-10-06T12:34:56.000",
"packageTemplateId": "30003", "packageTemplateId": "30003",
"xBot": "f8f13d64-fd07-44e8-9c85-968857da5d68", "xBot": "f8f13d64-fd07-44e8-9c85-968857da5d68",
"xTat": "01a82ebe-5d07-45d8-a897-66152e8954dd", "xTat": "01a82ebe-5d07-45d8-a897-66152e8954dd",
"xSpit": "c3868858-b250-4480-9cb4-725d2e9198f3", "xSpit": "c3868858-b250-4480-9cb4-725d2e9198f3",
"customerTokenId": "6c7a6d4b-7e6c-4f6a-9b1e-0a9b1e6c7a6d", "customerTokenId": "6c7a6d4b-7e6c-4f6a-9b1e-0a9b1e6c7a6d",
"ovPayTokenId": 14, "ovPayTokenId": 14,
"createdOn": "2024-10-05T12:34:56.000",
"lastUpdatedOn": "2024-10-05T12:34:56.000",
"createdBy": "someuser",
"lastUpdatedBy": null,
}, },
] ]
/purchasedgboproducts/{purchasedGboProductId}: /purchasedgboproducts/{purchasedGboProductId}:
@@ -463,7 +567,12 @@ paths:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: { "refundTimestamp": "2024-10-05T12:34:56.000" } example:
{
"refundTimestamp": "2024-10-05T12:34:56.000",
"lastUpdatedOn": "2024-10-05T12:34:56.000",
"lastUpdatedBy": "someuser",
}
responses: responses:
"201": "201":
description: Created description: Created
@@ -472,7 +581,9 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ "purchasedGboProductId": "a9b3dea5-fb8a-4b1e-9fe6-90cad31c0cfd" } {
"purchasedGboProductId": "a9b3dea5-fb8a-4b1e-9fe6-90cad31c0cfd",
}
components: components:
securitySchemes: securitySchemes:
bearerToken: bearerToken: