diff --git a/src/openapi/products/SE-products-SE.yaml b/src/openapi/products/SE-products-SE.yaml index eb40747..627cb36 100644 --- a/src/openapi/products/SE-products-SE.yaml +++ b/src/openapi/products/SE-products-SE.yaml @@ -401,7 +401,7 @@ paths: [ { "sellingPriceId": 78, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "fromInclusive": "2024-09-30T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -632,7 +632,7 @@ paths: [ { "sellingPriceId": 149, - "amountExclTax": 276, + "amountExclTax": null, "amountInclTax": 300, "fromInclusive": "2025-01-19T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -752,7 +752,7 @@ paths: [ { "sellingPriceId": 148, - "amountExclTax": 276, + "amountExclTax": null, "amountInclTax": 300, "fromInclusive": "2025-01-19T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -1205,7 +1205,7 @@ paths: [ { "sellingPriceId": 139, - "amountExclTax": 5412, + "amountExclTax": null, "amountInclTax": 5900, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1355,7 +1355,7 @@ paths: [ { "sellingPriceId": 140, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1509,7 +1509,7 @@ paths: [ { "sellingPriceId": 141, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1663,7 +1663,7 @@ paths: [ { "sellingPriceId": 142, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", diff --git a/src/openapi/products/SE-products-TP.yaml b/src/openapi/products/SE-products-TP.yaml index 7be3d25..a4b15cb 100644 --- a/src/openapi/products/SE-products-TP.yaml +++ b/src/openapi/products/SE-products-TP.yaml @@ -401,7 +401,7 @@ paths: [ { "sellingPriceId": 78, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "fromInclusive": "2024-09-30T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -632,7 +632,7 @@ paths: [ { "sellingPriceId": 149, - "amountExclTax": 276, + "amountExclTax": null, "amountInclTax": 300, "fromInclusive": "2025-01-19T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -752,7 +752,7 @@ paths: [ { "sellingPriceId": 148, - "amountExclTax": 276, + "amountExclTax": null, "amountInclTax": 300, "fromInclusive": "2025-01-19T23:00:00.000+00:00", "toInclusive": "2028-11-17T23:00:00.000+00:00", @@ -1205,7 +1205,7 @@ paths: [ { "sellingPriceId": 139, - "amountExclTax": 5412, + "amountExclTax": null, "amountInclTax": 5900, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1355,7 +1355,7 @@ paths: [ { "sellingPriceId": 140, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1509,7 +1509,7 @@ paths: [ { "sellingPriceId": 141, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", @@ -1663,7 +1663,7 @@ paths: [ { "sellingPriceId": 142, - "amountExclTax": 8899, + "amountExclTax": null, "amountInclTax": 9700, "fromInclusive": "2024-12-31T23:00:00.000+00:00", "toInclusive": "2025-12-31T23:00:00.000+00:00", diff --git a/src/openapi/products/productreference-crud.yaml b/src/openapi/products/productreference-crud.yaml index c4f4109..b8b7526 100644 --- a/src/openapi/products/productreference-crud.yaml +++ b/src/openapi/products/productreference-crud.yaml @@ -1550,6 +1550,9 @@ components: - productCategoryId: 7 name: Functioneel product isTravelProduct: false + - productCategoryId: 8 + name: Saldo + isTravelProduct: true type: array items: $ref: '#/components/schemas/productCategoryGetEntity' diff --git a/src/openapi/products/products-crud.yaml b/src/openapi/products/products-crud.yaml index dd73366..814ab87 100644 --- a/src/openapi/products/products-crud.yaml +++ b/src/openapi/products/products-crud.yaml @@ -435,7 +435,7 @@ paths: "salesTouchpointId": 3, "sellingPrices": [ { - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -448,7 +448,7 @@ paths: ], "purchasePrices": [ { - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -522,7 +522,7 @@ paths: "salesTouchpointId": 3, "sellingPrices": [ { - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -535,7 +535,7 @@ paths: ], "purchasePrices": [ { - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -608,7 +608,7 @@ paths: "salesTouchpointId": 3, "sellingPrices": [ { - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -617,7 +617,7 @@ paths: "internalPrice": 92.0000 }, { - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -633,7 +633,7 @@ paths: "salesTouchpointId": 2, "sellingPrices": [ { - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -642,7 +642,7 @@ paths: "internalPrice": 92.0000 }, { - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -655,7 +655,7 @@ paths: ], "purchasePrices": [ { - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -750,7 +750,7 @@ paths: ], "sellingPrices": [ { - "amountExclTax": 5413, + "amountExclTax": null, "amountInclTax": 5900, "taxCode": "V09", "taxPercentage": 9.0000, @@ -763,7 +763,7 @@ paths: ], "purchasePrices": [ { - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -973,7 +973,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -987,7 +987,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 0, @@ -1148,7 +1148,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 100, @@ -1158,7 +1158,7 @@ paths: }, { "sellingPriceId": 2, - "amountExclTax": 101, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 110, @@ -1195,7 +1195,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 3, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1205,7 +1205,7 @@ paths: }, { "sellingPriceId": 4, - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1219,7 +1219,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1419,7 +1419,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 5, - "amountExclTax": 5413, + "amountExclTax": null, "amountInclTax": 5900, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1433,7 +1433,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 0, @@ -1468,7 +1468,7 @@ paths: { "productId": 4, "parentProductId": 3, - "layerInfoId": { + "layerInfo": { "layerInfoId": 1, "choiceKey": "allowedGboAgeProfiles", "choiceLabel": "Wat is uw geboortedatum?", @@ -1632,7 +1632,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 5, - "amountExclTax": 5413, + "amountExclTax": null, "amountInclTax": 5900, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1646,7 +1646,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 0, @@ -1669,6 +1669,340 @@ paths: } ] } + getDetailsFunctionalProductChangeIbanMandate: + summary: Functional product (change IBAN mandate) + value: + { + "productId": 143, + "parentProductId": null, + "layerInfo": null, + "fikoArticleNumber": "1234", + "isValid": true, + "isArchived": false, + "gboPackageTemplateId": null, + "tapConnectProductCode": null, + "productName": "IBAN wijzigen functioneel product", + "productDescription": "IBAN wijzigen functioneel product", + "validityPeriod": { + "validityPeriodId": 254, + "fromInclusive": "2023-12-31T23:00:00.000+00:00", + "toInclusive": "2100-12-08T04:00:00.000+00:00" + }, + "productTranslations": [ + { + "language": "en", + "name": "Change IBAN functional product", + "description": "Change IBAN functional product" + } + ], + "productOwner": { + "productOwnerId": 17, + "name": "Corneel Verstoep", + "organization": "HTM" + }, + "marketSegments": [ + { + "marketSegmentId": 1, + "name": "B2C" + } + ], + "customerSegments": null, + "allowedGboAgeProfiles": null, + "productCategory": { + "productCategoryId": 7, + "isTravelProduct": false, + "name": "Functioneel product" + }, + "requiredCustomerLevel": { + "requiredCustomerLevelId": 3, + "name": "profile" + }, + "requiredProducts": null, + "incompatibleProducts": null, + "mandatoryCustomerDataItems": null, + "requiredGboPersonalAttributes": null, + "tokenTypes": null, + "paymentMoment": { + "paymentMomentId": 1, + "name": "prepaid" + }, + "serviceOptions": [ + { + "serviceOptionId": 4, + "action": "cancel_notAllowed", + "description": "Stopzetting is niet toegestaan (doorgaans in combinatie met refund_notAllowed)" + }, + { + "serviceOptionId": 10, + "action": "refund_notAllowed", + "description": "Terugbetaling niet toegestaan (doorgaans in combinatie met cancel_notAllowed)" + } + ], + "validityDuration": null, + "maxStartInFutureDuration": null, + "isRenewable": null, + "sendInvoice": null, + "imageReference": "https://web.acc.cloud.htm.nl/media/leif2leu/htm-logo-mobile.svg", + "productPageUrl": "https://web.acc.cloud.htm.nl/webshop/onbekend/", + "termsUrl": "https://web.acc.cloud.htm.nl/reisproducten/productvoorwaarden/onbekend/", + "isSellableAtHtm": true, + "needsSolvencyCheckConsumer": false, + "needsSolvencyCheckBusiness": false, + "sellingPeriods": [ + { + "sellingPeriodId": 204, + "fromInclusive": "2024-09-30T23:00:00.000+00:00", + "toInclusive": "2099-12-30T23:00:00.000+00:00", + "salesTouchpoint": { + "salesTouchpointId": 3, + "name": "Website (Perplex)", + "isActive": true, + "retailer": { + "retailerId": 1001, + "name": "HTM externe touchpoints", + "street": "Koningin Julianaplein", + "number": 10, + "numberAddition": null, + "postalCode": "2595 AA", + "city": "Den Haag", + "country": "Nederland", + "emailAddress": "info@htm.nl", + "phoneNumber": "070 374 9002", + "taxId": 572309345923, + "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg" + } + }, + "forbiddenPaymentMethods": [ + { + "forbiddenPaymentMethodId": 1, + "name": "creditcard", + "issuer": "Mastercard" + }, + { + "forbiddenPaymentMethodId": 2, + "name": "creditcard", + "issuer": "Visa" + }, + { + "forbiddenPaymentMethodId": 3, + "name": "creditcard", + "issuer": "American Express" + } + ], + "sellingPrices": [ + { + "sellingPriceId": 187, + "taxCode": "V0", + "taxPercentage": 0.0000, + "amountExclTax": null, + "amountInclTax": 1, + "fromInclusive": "2024-09-30T23:00:00.000+00:00", + "toInclusive": "2099-12-30T23:00:00.000+00:00", + "internalPrice": 0.0000 + } + ] + }, + { + "sellingPeriodId": 448, + "fromInclusive": "2023-12-31T23:00:00.000+00:00", + "toInclusive": "2099-12-08T04:00:00.000+00:00", + "salesTouchpoint": { + "salesTouchpointId": 6, + "name": "SMP (Service Medewerker Portaal)", + "isActive": true, + "retailer": { + "retailerId": 1000, + "name": "HTM interne touchpoints", + "street": "Koningin Julianaplein", + "number": 10, + "numberAddition": null, + "postalCode": "2595 AA", + "city": "Den Haag", + "country": "Nederland", + "emailAddress": "info@htm.nl", + "phoneNumber": "070 374 9002", + "taxId": 572309345923, + "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg" + } + }, + "forbiddenPaymentMethods": [ + { + "forbiddenPaymentMethodId": 1, + "name": "creditcard", + "issuer": "Mastercard" + }, + { + "forbiddenPaymentMethodId": 2, + "name": "creditcard", + "issuer": "Visa" + }, + { + "forbiddenPaymentMethodId": 3, + "name": "creditcard", + "issuer": "American Express" + } + ], + "sellingPrices": [ + { + "sellingPriceId": 383, + "taxCode": "V00", + "taxPercentage": 0.0000, + "amountExclTax": null, + "amountInclTax": 1, + "fromInclusive": "2025-01-31T23:00:00.000+00:00", + "toInclusive": "2030-12-08T04:00:00.000+00:00", + "internalPrice": 1.0000 + } + ] + } + ], + "purchasePrices": null, + "auditTrail": [ + { + "auditTrailId": 5124, + "action": "update", + "user": "api", + "timestamp": "2025-09-05T16:06:25.823+00:00" + } + ] + } + getDetailsSaldoProduct: + summary: Saldo product + value: + { + "productId": 123, + "parentProductId": null, + "layerInfo": null, + "fikoArticleNumber": "1234", + "isValid": true, + "isArchived": false, + "gboPackageTemplateId": null, + "tapConnectProductCode": null, + "productName": "OV-pas saldo (1 euro)", + "productDescription": "1 euro saldo voor de OV-pas ", + "validityPeriod": { + "validityPeriodId": 123, + "fromInclusive": "2023-12-31T23:00:00.000+00:00", + "toInclusive": "2100-12-08T04:00:00.000+00:00" + }, + "productTranslations": [ + { + "language": "en", + "name": "OV-pas credit (1 euro)", + "description": "1 euro credit for the OV-pas" + } + ], + "productOwner": { + "productOwnerId": 17, + "name": "Corneel Verstoep", + "organization": "HTM" + }, + "marketSegments": [ + { + "marketSegmentId": 1, + "name": "B2C" + } + ], + "customerSegments": null, + "allowedGboAgeProfiles": null, + "productCategory": { + "productCategoryId": 8, + "isTravelProduct": true, + "name": "Saldo" + }, + "requiredCustomerLevel": { + "requiredCustomerLevelId": 1, + "name": "guest" + }, + "requiredProducts": null, + "incompatibleProducts": null, + "mandatoryCustomerDataItems": null, + "requiredGboPersonalAttributes": null, + "tokenTypes": [ + { + "tokenTypeId": 2, + "name": "OVPas physical" + }, + { + "tokenTypeId": 3, + "name": "OVPas digital" + } + ], + "paymentMoment": { + "paymentMomentId": 1, + "name": "prepaid" + }, + "serviceOptions": [ + { + "serviceOptionId": 4, + "action": "cancel_notAllowed", + "description": "Stopzetting is niet toegestaan (doorgaans in combinatie met refund_notAllowed)" + }, + { + "serviceOptionId": 10, + "action": "refund_notAllowed", + "description": "Terugbetaling niet toegestaan (doorgaans in combinatie met cancel_notAllowed)" + } + ], + "validityDuration": null, + "maxStartInFutureDuration": null, + "isRenewable": false, + "sendInvoice": false, + "imageReference": "https://web.acc.cloud.htm.nl/media/leif2leu/htm-logo-mobile.svg", + "productPageUrl": "https://web.acc.cloud.htm.nl/webshop/onbekend/", + "termsUrl": "https://web.acc.cloud.htm.nl/reisproducten/productvoorwaarden/onbekend/", + "isSellableAtHtm": true, + "needsSolvencyCheckConsumer": false, + "needsSolvencyCheckBusiness": false, + "sellingPeriods": [ + { + "sellingPeriodId": 123, + "fromInclusive": "2024-09-30T23:00:00.000+00:00", + "toInclusive": "2099-12-30T23:00:00.000+00:00", + "salesTouchpoint": { + "salesTouchpointId": 3, + "name": "Website (Perplex)", + "isActive": true, + "retailer": { + "retailerId": 1001, + "name": "HTM externe touchpoints", + "street": "Koningin Julianaplein", + "number": 10, + "numberAddition": null, + "postalCode": "2595 AA", + "city": "Den Haag", + "country": "Nederland", + "emailAddress": "info@htm.nl", + "phoneNumber": "070 374 9002", + "taxId": 572309345923, + "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg" + } + }, + "forbiddenPaymentMethods": null, + "sellingPrices": [ + { + "sellingPriceId": 123, + "taxCode": null, + "taxPercentage": null, + "amountExclTax": null, + "amountInclTax": 100, + "fromInclusive": "2024-09-30T23:00:00.000+00:00", + "toInclusive": "2099-12-30T23:00:00.000+00:00", + "internalPrice": 0.0000 + } + ] + } + ], + "purchasePrices": null, + "auditTrail": [ + { + "auditTrailId": 5124, + "action": "update", + "user": "api", + "timestamp": "2025-09-05T16:06:25.823+00:00" + } + ] + } getDetailsGboProductSupplement: summary: TODO - GBO product (supplement with requirements) value: @@ -1681,12 +2015,7 @@ paths: { "productName": "TODO" } - getDetailsIbanMandate: - summary: TODO - IBAN mandate (functional product) - value: - { - "productName": "TODO" - } + '400': description: '400' content: @@ -1812,7 +2141,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1826,7 +2155,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1903,7 +2232,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1917,7 +2246,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -1990,7 +2319,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "taxCode": "V09", "taxPercentage": 9.0000, "amountInclTax": 100, @@ -2006,7 +2335,7 @@ paths: "salesTouchpointId": 2, "sellingPrices": [ { - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2015,7 +2344,7 @@ paths: "internalPrice": 92.0000 }, { - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2029,7 +2358,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2105,7 +2434,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2115,7 +2444,7 @@ paths: }, { "sellingPriceId": 2, - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2133,7 +2462,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 3, - "amountExclTax": 92, + "amountExclTax": null, "amountInclTax": 100, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2143,7 +2472,7 @@ paths: }, { "sellingPriceId": 4, - "amountExclTax": 101, + "amountExclTax": null, "amountInclTax": 110, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2157,7 +2486,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2255,7 +2584,7 @@ paths: "sellingPrices": [ { "sellingPriceId": 1, - "amountExclTax": 5413, + "amountExclTax": null, "amountInclTax": 5900, "taxCode": "V09", "taxPercentage": 9.0000, @@ -2269,7 +2598,7 @@ paths: "purchasePrices": [ { "purchasePriceId": 1, - "amountExclTax": 0, + "amountExclTax": null, "amountInclTax": 0, "taxCode": "V09", "taxPercentage": 9.0000,