From 235c395bd3729be1e8e97e12a468acd01de9a461 Mon Sep 17 00:00:00 2001 From: Rafal Makara Date: Thu, 24 Oct 2019 16:17:07 +0200 Subject: [PATCH] feat: Add enum for CartLineItemType {product, promotion, credit, custom} --- .../src/interfaces/cart/CartLineItemType.ts | 6 ++++++ .../shopware-6-client/src/interfaces/cart/LineItemType.ts | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 packages/shopware-6-client/src/interfaces/cart/CartLineItemType.ts create mode 100644 packages/shopware-6-client/src/interfaces/cart/LineItemType.ts diff --git a/packages/shopware-6-client/src/interfaces/cart/CartLineItemType.ts b/packages/shopware-6-client/src/interfaces/cart/CartLineItemType.ts new file mode 100644 index 000000000..65dd50e58 --- /dev/null +++ b/packages/shopware-6-client/src/interfaces/cart/CartLineItemType.ts @@ -0,0 +1,6 @@ +export enum CartLineItemType { + PRODUCT = "product", + CREDIT = "credit", + CUSTOM = "custom", + PROMOTION = "promotion" +} diff --git a/packages/shopware-6-client/src/interfaces/cart/LineItemType.ts b/packages/shopware-6-client/src/interfaces/cart/LineItemType.ts new file mode 100644 index 000000000..31e6b7924 --- /dev/null +++ b/packages/shopware-6-client/src/interfaces/cart/LineItemType.ts @@ -0,0 +1,6 @@ +export enum LineItemType { + PRODUCT = "product", + CREDIT = "credit", + CUSTOM = "custom", + PROMOTION = "promotion" +}