feature/OVPAY-2103 #39

Merged
bboterm merged 16 commits from feature/OVPAY-2103 into develop 2025-11-28 14:33:01 +00:00
Showing only changes of commit 04be5e5fbd - Show all commits

View File

@ -147,8 +147,6 @@ paths:
"iso639Code": "nl-NL", "iso639Code": "nl-NL",
"ietfCode": "nl", "ietfCode": "nl",
}, },
"billingAddressId": 1,
"shippingAddressId": 1,
"createdOn": "2024-03-22T09:00:00", "createdOn": "2024-03-22T09:00:00",
"lastUpdatedOn": "2024-03-22T09:00:00", "lastUpdatedOn": "2024-03-22T09:00:00",
"order_OrderStatuses": "order_OrderStatuses":
@ -159,7 +157,43 @@ paths:
"createdOn": "2024-03-22T09:00:00", "createdOn": "2024-03-22T09:00:00",
"description": "Order succesvol betaald", "description": "Order succesvol betaald",
}, },
"orderLines": [], "orderLines":
[
{
"orderLineId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
"externalOrderLineId": null,
"productId": 1,
"productName": "HTM Maandkorting 20%",
"fikoArticleNumber": "6609",
"productDescription": "HTM Maandkorting 20%",
"taxCode": "V21",
"taxPercentage": 21.0000,
"taxAmount": null,
"amountExclTax": null,
"amountInclTax": 121,
"quantity": 1,
"orderLineTerms":
[
{
"orderLineTermsId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
"termsUrl": "generalTermsAndConditions.pdf",
},
{
"orderLineTermsId": "bd76f723-9308-4629-a291-4c4fafd7ed87",
"termsUrl": "productTermsAndConditions.pdf",
},
],
"createdOn": "2024-03-22T09:00:00",
"validFrom": "2024-03-22T09:00:00",
"validUntil": null,
"orderLineStatus":
{
"orderLineStatusId": 1,
"name": "pending",
},
"customerTokens": null,
},
],
"payments": "payments":
[ [
{ {
@ -264,8 +298,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -313,7 +347,7 @@ paths:
}, },
"ovPayToken": "ovPayToken":
{ {
"customerProfileId": 1, "customerProfileId": 1337,
"ovPayTokenId": 1, "ovPayTokenId": 1,
"xTat": "32089cc8-d187-47ff-a3a9-5c2558def811", "xTat": "32089cc8-d187-47ff-a3a9-5c2558def811",
"tokenType": "tokenType":
@ -529,8 +563,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -776,8 +810,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -953,8 +987,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -1131,8 +1165,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -1346,8 +1380,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -1603,7 +1637,7 @@ paths:
{ {
"productId": 2, "productId": 2,
"quantity": 1, "quantity": 1,
"createdOn": "2024-03-22T09:00:00" "createdOn": "2024-03-22T09:00:00",
} }
responses: responses:
"200": "200":
@ -1661,8 +1695,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -1685,7 +1719,8 @@ paths:
[ [
{ {
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e", "customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
"tokenType": { "tokenTypeId": 1, "name": "EMV" }, "tokenType":
{ "tokenTypeId": 1, "name": "EMV" },
"ovPayTokenId": 12, "ovPayTokenId": 12,
"serviceReferenceId": null, "serviceReferenceId": null,
"amount": null, "amount": null,
@ -1770,17 +1805,18 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": [ "additionalRemarks":
[
{ {
"code": "PRODUCT_CHOICE_REQUIRED", "code": "PRODUCT_CHOICE_REQUIRED",
"parameter": "orderline.productId", "parameter": "orderline.productId",
} },
], ],
"validationErrors": [], "validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
"orderCustomers": null "orderCustomers": null,
} }
Create order line with minimum requirements: Create order line with minimum requirements:
summary: Create order line with minimum requirements summary: Create order line with minimum requirements
@ -1830,8 +1866,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -1940,7 +1976,8 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": [ "additionalRemarks":
[
{ {
"code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED", "code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED",
"parameter": "personalaccountdata.birthdate", "parameter": "personalaccountdata.birthdate",
@ -1952,7 +1989,7 @@ paths:
{ {
"code": "VALIDFROM_REQUIRED", "code": "VALIDFROM_REQUIRED",
"parameter": "orderline.validFrom", "parameter": "orderline.validFrom",
} },
], ],
"validationErrors": [], "validationErrors": [],
}, },
@ -2080,8 +2117,8 @@ paths:
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in gebied HL65", "productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in gebied HL65",
"taxCode": "V09", "taxCode": "V09",
"taxPercentage": 9.0000, "taxPercentage": 9.0000,
"taxAmount": 488, "taxAmount": null,
"amountExclTax": 5412, "amountExclTax": null,
"amountInclTax": 5900, "amountInclTax": 5900,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -2324,8 +2361,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -2539,8 +2576,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -2568,7 +2605,6 @@ paths:
"serviceReferenceId": "NLOV1234567ABCDEFG", "serviceReferenceId": "NLOV1234567ABCDEFG",
"amount": 34, "amount": 34,
"personalAccountData": null, "personalAccountData": null,
},
"ovPayToken": "ovPayToken":
{ {
"customerProfileId": 1, "customerProfileId": 1,
@ -2581,7 +2617,10 @@ paths:
}, },
"alias": "MyToken", "alias": "MyToken",
"tokenStatus": "tokenStatus":
{ "tokenStatusId": 2, "name": "Active" }, {
"tokenStatusId": 2,
"name": "Active",
},
"expirationDate": "2028-02-01", "expirationDate": "2028-02-01",
"replacedByTokenId": null, "replacedByTokenId": null,
}, },
@ -2640,6 +2679,7 @@ paths:
"ageFromInclusive": 4, "ageFromInclusive": 4,
"ageToInclusive": 11, "ageToInclusive": 11,
}, },
},
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
@ -2709,8 +2749,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -2838,8 +2878,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3049,8 +3089,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3178,7 +3218,7 @@ paths:
}, },
], ],
"payments": [], "payments": [],
"orderCustomer": null "orderCustomer": null,
} }
delete: delete:
tags: tags:
@ -3239,8 +3279,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3460,8 +3500,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3525,8 +3565,8 @@ paths:
"productDescription": "HTM Maandkorting 40%", "productDescription": "HTM Maandkorting 40%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 42, "taxAmount": null,
"amountExclTax": 200, "amountExclTax": null,
"amountInclTax": 242, "amountInclTax": 242,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3755,8 +3795,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -3947,8 +3987,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -4219,8 +4259,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -4463,8 +4503,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -4709,8 +4749,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":
@ -4961,8 +5001,8 @@ paths:
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxCode": "V21", "taxCode": "V21",
"taxPercentage": 21.0000, "taxPercentage": 21.0000,
"taxAmount": 21, "taxAmount": null,
"amountExclTax": 100, "amountExclTax": null,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"orderLineTerms": "orderLineTerms":