feat: Region PaymentProvider link (#6577)

**What**

- Introduce link between Region and PaymentProvider
- Introduce API endpoint `GET /store/regions/:id/payment-providers` for retrieving providers by region
- Add tests for both
This commit is contained in:
Oli Juhl
2024-03-05 09:40:25 +00:00
committed by GitHub
parent 82db53c99e
commit 7d69e6068e
14 changed files with 371 additions and 43 deletions
+6
View File
@@ -20,6 +20,12 @@ export const LINKS = {
Modules.PAYMENT,
"payment_collection_id"
),
RegionPaymentProvider: composeLinkName(
Modules.REGION,
"region_id",
Modules.PAYMENT,
"payment_provider_id"
),
CartPromotion: composeLinkName(
Modules.CART,
"cart_id",