Merge branch 'feature/OVPAY-613-SE-productdetails' into develop

This commit is contained in:
Max Martens 2025-03-11 13:11:26 +01:00
commit cd71fb3785
3 changed files with 100 additions and 24 deletions

View File

@ -65,7 +65,7 @@ paths:
"productDescription": null, "productDescription": null,
"productCategory": null, "productCategory": null,
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [], "sellableTouchpointIds": [],
"amountInclTax": null, "amountInclTax": null,
"imageReference": null, "imageReference": null,
"productPageUrl": null, "productPageUrl": null,
@ -95,7 +95,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
1, 1,
2 2
], ],
@ -128,7 +128,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -162,7 +162,7 @@ paths:
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchpointIds": [ "sellableTouchpointIds": [
4 3
], ],
"amountInclTax": null, "amountInclTax": null,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
@ -176,6 +176,44 @@ paths:
} }
] ]
} }
List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4):
summary: List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4)
description: Product is returned
value:
{
"Entries": [
{
"productId": 126,
"productCode": null,
"productName": "HTM-30001",
"productDescription": "Reis met 20% korting op je betaalpas bij HTM.",
"productCategory": {
"productCategoryId": 1,
"isTravelProduct": true,
"name": "Kortingsabonnement"
},
"tokenTypes": [
{
"tokenTypeId": 1,
"name": "EMV"
}
],
"sellableTouchpointIds": [
3,
4
],
"amountInclTax": 300,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina",
"_links": {
"get_details": {
"href": "https://api.integratielaag.nl/abt/abtserviceengine/2.0/products/126",
"method": "GET"
}
}
}
]
}
List containing multiple products (called by touchpointId 3): List containing multiple products (called by touchpointId 3):
summary: List containing multiple products (called by touchpointId 3) summary: List containing multiple products (called by touchpointId 3)
description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned
@ -193,7 +231,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -223,7 +261,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -2095,7 +2133,7 @@ components:
name: name:
type: string type: string
example: EMV example: EMV
sellableTouchPointIds: sellableTouchpointIds:
type: array type: array
items: items:
type: integer type: integer

View File

@ -65,7 +65,7 @@ paths:
"productDescription": null, "productDescription": null,
"productCategory": null, "productCategory": null,
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [], "sellableTouchpointIds": [],
"amountInclTax": null, "amountInclTax": null,
"imageReference": null, "imageReference": null,
"productPageUrl": null, "productPageUrl": null,
@ -95,7 +95,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
1, 1,
2 2
], ],
@ -128,7 +128,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -162,7 +162,7 @@ paths:
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchpointIds": [ "sellableTouchpointIds": [
4 3
], ],
"amountInclTax": null, "amountInclTax": null,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
@ -176,6 +176,44 @@ paths:
} }
] ]
} }
List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4):
summary: List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4)
description: Product is returned
value:
{
"Entries": [
{
"productId": 126,
"productCode": null,
"productName": "HTM-30001",
"productDescription": "Reis met 20% korting op je betaalpas bij HTM.",
"productCategory": {
"productCategoryId": 1,
"isTravelProduct": true,
"name": "Kortingsabonnement"
},
"tokenTypes": [
{
"tokenTypeId": 1,
"name": "EMV"
}
],
"sellableTouchpointIds": [
3,
4
],
"amountInclTax": 300,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina",
"_links": {
"get_details": {
"href": "https://api.integratielaag.nl/abt/touchpoint/2.0/products/126",
"method": "GET"
}
}
}
]
}
List containing multiple products (called by touchpointId 3): List containing multiple products (called by touchpointId 3):
summary: List containing multiple products (called by touchpointId 3) summary: List containing multiple products (called by touchpointId 3)
description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned
@ -193,7 +231,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": [], "tokenTypes": [],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -223,7 +261,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -2095,7 +2133,7 @@ components:
name: name:
type: string type: string
example: EMV example: EMV
sellableTouchPointIds: sellableTouchpointIds:
type: array type: array
items: items:
type: integer type: integer

View File

@ -74,7 +74,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": null, "sellableTouchpointIds": null,
"amountInclTax": null, "amountInclTax": null,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina" "productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
@ -98,7 +98,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": null, "tokenTypes": null,
"sellableTouchPointIds": [ "sellableTouchpointIds": [
1, 1,
2, 2,
3, 3,
@ -127,7 +127,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": null, "tokenTypes": null,
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -159,7 +159,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": null, "sellableTouchpointIds": null,
"amountInclTax": null, "amountInclTax": null,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina" "productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
@ -175,7 +175,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": null, "tokenTypes": null,
"sellableTouchPointIds": [ "sellableTouchpointIds": [
1, 1,
2, 2,
3, 3,
@ -201,7 +201,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
1, 1,
2 2
], ],
@ -225,7 +225,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -252,7 +252,7 @@ paths:
"name": "Barcode" "name": "Barcode"
}, },
"tokenTypes": null, "tokenTypes": null,
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -276,7 +276,7 @@ paths:
"name": "EMV" "name": "EMV"
} }
], ],
"sellableTouchPointIds": [ "sellableTouchpointIds": [
3, 3,
4 4
], ],
@ -2126,7 +2126,7 @@ components:
name: name:
type: string type: string
example: EMV example: EMV
sellableTouchPointIds: sellableTouchpointIds:
type: array type: array
items: items:
type: integer type: integer