@shopware/composables 0.0.0-canary-20250116155626

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +172 -0
  3. package/composables/index.ts +1 -0
  4. package/dist/index.d.mts +2239 -0
  5. package/dist/index.d.ts +2239 -0
  6. package/dist/index.mjs +2686 -0
  7. package/nuxt.config.ts +14 -0
  8. package/package.json +83 -0
  9. package/src/_test/index.ts +1 -0
  10. package/src/_test/useSetup.ts +43 -0
  11. package/src/cms/README.md +9 -0
  12. package/src/cms/cmsAssociations.ts +28 -0
  13. package/src/cms/index.ts +2 -0
  14. package/src/cms/useCmsElementConfig.test.ts +145 -0
  15. package/src/cms/useCmsElementConfig.ts +29 -0
  16. package/src/cms/useCmsElementImage.test.ts +179 -0
  17. package/src/cms/useCmsElementImage.ts +103 -0
  18. package/src/cms/useCmsElementProductBox.test.ts +15 -0
  19. package/src/cms/useCmsElementProductBox.ts +25 -0
  20. package/src/createShopwareContext.test.ts +23 -0
  21. package/src/createShopwareContext.ts +43 -0
  22. package/src/devtools/plugin.ts +201 -0
  23. package/src/helpers/ContextError.spec.ts +20 -0
  24. package/src/helpers/ContextError.ts +6 -0
  25. package/src/index.test.ts +54 -0
  26. package/src/index.ts +111 -0
  27. package/src/mocks/Cart.ts +774 -0
  28. package/src/mocks/CmsPage.ts +544 -0
  29. package/src/mocks/CmsProductBox.ts +377 -0
  30. package/src/mocks/Configurator.ts +123 -0
  31. package/src/mocks/Country.ts +184 -0
  32. package/src/mocks/CrossSellingResponse.ts +552 -0
  33. package/src/mocks/LandingPage.ts +62 -0
  34. package/src/mocks/Menu.ts +598 -0
  35. package/src/mocks/Order.ts +1151 -0
  36. package/src/mocks/Product.ts +473 -0
  37. package/src/mocks/ProductTierPrices.ts +771 -0
  38. package/src/mocks/Salutations.ts +51 -0
  39. package/src/mocks/Search.ts +518 -0
  40. package/src/types/cmsBlockTypes.ts +80 -0
  41. package/src/types/cmsElementTypes.ts +381 -0
  42. package/src/types/cmsSectionTypes.ts +15 -0
  43. package/src/types/index.ts +52 -0
  44. package/src/useAddToCart/useAddToCart.test.ts +39 -0
  45. package/src/useAddToCart/useAddToCart.ts +90 -0
  46. package/src/useAddress/useAddress.test.ts +134 -0
  47. package/src/useAddress/useAddress.ts +202 -0
  48. package/src/useB2bQuoteManagement/useB2bQuoteManagement.test.ts +137 -0
  49. package/src/useB2bQuoteManagement/useB2bQuoteManagement.ts +225 -0
  50. package/src/useBreadcrumbs/useBreadcrumbs.test.ts +71 -0
  51. package/src/useBreadcrumbs/useBreadcrumbs.ts +89 -0
  52. package/src/useCart/useCart.test.ts +251 -0
  53. package/src/useCart/useCart.ts +314 -0
  54. package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.test.ts +122 -0
  55. package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.ts +80 -0
  56. package/src/useCartItem/useCartItem.test.ts +168 -0
  57. package/src/useCartItem/useCartItem.ts +157 -0
  58. package/src/useCartNotification/useCartNotification.test.ts +129 -0
  59. package/src/useCartNotification/useCartNotification.ts +63 -0
  60. package/src/useCategory/useCategory.test.ts +14 -0
  61. package/src/useCategory/useCategory.ts +32 -0
  62. package/src/useCategorySearch/useCategorySearch.test.ts +98 -0
  63. package/src/useCategorySearch/useCategorySearch.ts +81 -0
  64. package/src/useCheckout/useCheckout.test.ts +104 -0
  65. package/src/useCheckout/useCheckout.ts +163 -0
  66. package/src/useCmsBlock/useCmsBlock.test.ts +25 -0
  67. package/src/useCmsBlock/useCmsBlock.ts +36 -0
  68. package/src/useCmsMeta/useCmsMeta.test.ts +17 -0
  69. package/src/useCmsMeta/useCmsMeta.ts +46 -0
  70. package/src/useCmsSection/useCmsSection.test.ts +18 -0
  71. package/src/useCmsSection/useCmsSection.ts +39 -0
  72. package/src/useCmsTranslations/useCmsTranslations.test.ts +10 -0
  73. package/src/useCmsTranslations/useCmsTranslations.ts +9 -0
  74. package/src/useContext/useContext.ts +36 -0
  75. package/src/useCountries/useCountries.test.ts +64 -0
  76. package/src/useCountries/useCountries.ts +64 -0
  77. package/src/useCustomerOrders/useCustomerOrders.test.ts +47 -0
  78. package/src/useCustomerOrders/useCustomerOrders.ts +89 -0
  79. package/src/useCustomerPassword/useCustomerPassword.test.ts +164 -0
  80. package/src/useCustomerPassword/useCustomerPassword.ts +57 -0
  81. package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.test.ts +41 -0
  82. package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.ts +45 -0
  83. package/src/useInternationalization/useInternationalization.test.ts +155 -0
  84. package/src/useInternationalization/useInternationalization.ts +159 -0
  85. package/src/useLandingSearch/useLandingSearch.test.ts +30 -0
  86. package/src/useLandingSearch/useLandingSearch.ts +58 -0
  87. package/src/useListing/useListing.test.ts +249 -0
  88. package/src/useListing/useListing.ts +592 -0
  89. package/src/useLocalWishlist/useLocalWishlist.test.ts +54 -0
  90. package/src/useLocalWishlist/useLocalWishlist.ts +95 -0
  91. package/src/useNavigation/useNavigation.test.ts +68 -0
  92. package/src/useNavigation/useNavigation.ts +83 -0
  93. package/src/useNavigationContext/useNavigationContext.test.ts +48 -0
  94. package/src/useNavigationContext/useNavigationContext.ts +39 -0
  95. package/src/useNavigationSearch/useNavigationSearch.test.ts +110 -0
  96. package/src/useNavigationSearch/useNavigationSearch.ts +60 -0
  97. package/src/useNewsletter/useNewsletter.test.ts +55 -0
  98. package/src/useNewsletter/useNewsletter.ts +109 -0
  99. package/src/useNotifications/useNotifications.test.ts +56 -0
  100. package/src/useNotifications/useNotifications.ts +119 -0
  101. package/src/useOrderDetails/useOrderDetails.test.ts +224 -0
  102. package/src/useOrderDetails/useOrderDetails.ts +329 -0
  103. package/src/useOrderPayment/useOrderPayment.test.ts +80 -0
  104. package/src/useOrderPayment/useOrderPayment.ts +119 -0
  105. package/src/usePrice/usePrice.test.ts +97 -0
  106. package/src/usePrice/usePrice.ts +106 -0
  107. package/src/useProduct/useProduct.test.ts +36 -0
  108. package/src/useProduct/useProduct.ts +56 -0
  109. package/src/useProductAssociations/useProductAssociations.spec.ts +105 -0
  110. package/src/useProductAssociations/useProductAssociations.ts +107 -0
  111. package/src/useProductConfigurator/useProductConfigurator.spec.ts +77 -0
  112. package/src/useProductConfigurator/useProductConfigurator.ts +134 -0
  113. package/src/useProductPrice/useProductPrice.test.ts +126 -0
  114. package/src/useProductPrice/useProductPrice.ts +131 -0
  115. package/src/useProductReviews/useProductReviews.test.ts +45 -0
  116. package/src/useProductReviews/useProductReviews.ts +80 -0
  117. package/src/useProductSearch/useProductSearch.test.ts +37 -0
  118. package/src/useProductSearch/useProductSearch.ts +58 -0
  119. package/src/useProductSearchSuggest/useProductSearchSuggest.test.ts +19 -0
  120. package/src/useProductSearchSuggest/useProductSearchSuggest.ts +67 -0
  121. package/src/useProductWishlist/useProductWishlist.test.ts +63 -0
  122. package/src/useProductWishlist/useProductWishlist.ts +74 -0
  123. package/src/useSalutations/useSalutations.spec.ts +37 -0
  124. package/src/useSalutations/useSalutations.ts +55 -0
  125. package/src/useSessionContext/useSessionContext.test.ts +221 -0
  126. package/src/useSessionContext/useSessionContext.ts +281 -0
  127. package/src/useShopwareContext/useShopwareContext.test.ts +8 -0
  128. package/src/useShopwareContext/useShopwareContext.ts +31 -0
  129. package/src/useSyncWishlist/useSyncWishlist.test.ts +117 -0
  130. package/src/useSyncWishlist/useSyncWishlist.ts +117 -0
  131. package/src/useUrlResolver/useUrlResolver.test.ts +25 -0
  132. package/src/useUrlResolver/useUrlResolver.ts +31 -0
  133. package/src/useUser/useUser.test.ts +290 -0
  134. package/src/useUser/useUser.ts +321 -0
  135. package/src/useWishlist/useWishlist.test.ts +178 -0
  136. package/src/useWishlist/useWishlist.ts +128 -0
  137. package/types/api-types.ts +11 -0
@@ -0,0 +1,1151 @@
1
+ const Order = {
2
+ apiAlias: "order-route-response-struct",
3
+ orders: {
4
+ elements: [
5
+ {
6
+ extensions: {
7
+ foreignKeys: {
8
+ subscriptionId: null,
9
+ apiAlias: "order_foreign_keys_extension",
10
+ },
11
+ search: {
12
+ extensions: [],
13
+ _uniqueIdentifier: null,
14
+ translated: [],
15
+ autoIncrement: 19615,
16
+ orderNumber: "28118",
17
+ },
18
+ },
19
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
20
+ translated: [],
21
+ createdAt: "2023-12-14T12:00:18.508+00:00",
22
+ updatedAt: "2024-05-16T17:51:53.125+00:00",
23
+ orderNumber: "28118",
24
+ currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca",
25
+ currencyFactor: 1,
26
+ salesChannelId: "98432def39fc4624b33213a56b8c944d",
27
+ billingAddressId: "018c6832f19a7348be5d974fc4d6c6e1",
28
+ billingAddressVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
29
+ orderDateTime: "2023-12-14T12:00:18.330+00:00",
30
+ orderDate: "2023-12-14T00:00:00.000+00:00",
31
+ price: {
32
+ netPrice: 81.3,
33
+ totalPrice: 100,
34
+ calculatedTaxes: [
35
+ {
36
+ tax: 18.7,
37
+ taxRate: 23,
38
+ price: 100,
39
+ apiAlias: "cart_tax_calculated",
40
+ },
41
+ ],
42
+ taxRules: [
43
+ {
44
+ taxRate: 23,
45
+ percentage: 100,
46
+ apiAlias: "cart_tax_rule",
47
+ },
48
+ ],
49
+ positionPrice: 100,
50
+ taxStatus: "gross",
51
+ rawTotal: 100,
52
+ apiAlias: "cart_price",
53
+ },
54
+ amountTotal: 100,
55
+ amountNet: 81.3,
56
+ positionPrice: 100,
57
+ taxStatus: "gross",
58
+ shippingCosts: {
59
+ unitPrice: 0,
60
+ quantity: 1,
61
+ totalPrice: 0,
62
+ calculatedTaxes: [],
63
+ taxRules: [],
64
+ referencePrice: null,
65
+ listPrice: null,
66
+ regulationPrice: null,
67
+ apiAlias: "calculated_price",
68
+ },
69
+ shippingTotal: 0,
70
+ orderCustomer: {
71
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
72
+ translated: [],
73
+ createdAt: "2023-12-14T12:00:18.413+00:00",
74
+ updatedAt: null,
75
+ email: "m.danilowicz@shopware.com",
76
+ salutationId: "d5e543063dd642b48ef94b02d68e5785",
77
+ firstName: "54maciej",
78
+ lastName: "maciej9",
79
+ title: null,
80
+ vatIds: null,
81
+ company: null,
82
+ customerNumber: "10014",
83
+ salutation: null,
84
+ customFields: null,
85
+ id: "018c6832f1b6721e9f22ac71dda92b99",
86
+ apiAlias: "order_customer",
87
+ },
88
+ currency: null,
89
+ languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
90
+ language: null,
91
+ addresses: [
92
+ {
93
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
94
+ translated: [],
95
+ createdAt: "2023-12-14T12:00:18.437+00:00",
96
+ updatedAt: null,
97
+ countryId: "28bbf3f6e79145ba8ffc91c409690ab8",
98
+ countryStateId: null,
99
+ firstName: "111",
100
+ lastName: "111",
101
+ street: "sdsd",
102
+ zipcode: "12-323",
103
+ city: "dsds",
104
+ company: null,
105
+ department: null,
106
+ title: null,
107
+ vatId: null,
108
+ phoneNumber: null,
109
+ additionalAddressLine1: null,
110
+ additionalAddressLine2: null,
111
+ country: null,
112
+ countryState: null,
113
+ salutation: null,
114
+ customFields: null,
115
+ id: "018c6832f19a7348be5d974fc4d6c6e1",
116
+ apiAlias: "order_address",
117
+ },
118
+ ],
119
+ billingAddress: {
120
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
121
+ translated: [],
122
+ createdAt: "2023-12-14T12:00:18.437+00:00",
123
+ updatedAt: null,
124
+ countryId: "28bbf3f6e79145ba8ffc91c409690ab8",
125
+ countryStateId: null,
126
+ firstName: "111",
127
+ lastName: "111",
128
+ street: "sdsd",
129
+ zipcode: "12-323",
130
+ city: "dsds",
131
+ company: null,
132
+ department: null,
133
+ title: null,
134
+ vatId: null,
135
+ phoneNumber: null,
136
+ additionalAddressLine1: null,
137
+ additionalAddressLine2: null,
138
+ country: null,
139
+ countryState: null,
140
+ salutation: null,
141
+ customFields: null,
142
+ id: "018c6832f19a7348be5d974fc4d6c6e1",
143
+ apiAlias: "order_address",
144
+ },
145
+ deliveries: [],
146
+ lineItems: [
147
+ {
148
+ extensions: {
149
+ foreignKeys: {
150
+ stateId: null,
151
+ apiAlias: "order_line_item_foreign_keys_extension",
152
+ },
153
+ },
154
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
155
+ translated: [],
156
+ createdAt: "2023-12-14T12:00:18.506+00:00",
157
+ updatedAt: null,
158
+ orderId: "018c6832f1a1731db276839b3f251fc2",
159
+ identifier: "3c40bbdab5a94212b7834f879ab34539",
160
+ referencedId: "3c40bbdab5a94212b7834f879ab34539",
161
+ productId: "3c40bbdab5a94212b7834f879ab34539",
162
+ quantity: 1,
163
+ unitPrice: 100,
164
+ totalPrice: 100,
165
+ label: "Frontends Ticket",
166
+ description: null,
167
+ good: true,
168
+ removable: true,
169
+ coverId: "69283dd3e92045259b24b5ad0a31abb6",
170
+ stackable: true,
171
+ position: 1,
172
+ priceDefinition: {
173
+ price: 100,
174
+ taxRules: [
175
+ {
176
+ taxRate: 23,
177
+ percentage: 100,
178
+ apiAlias: "cart_tax_rule",
179
+ },
180
+ ],
181
+ quantity: 1,
182
+ isCalculated: true,
183
+ referencePriceDefinition: null,
184
+ listPrice: null,
185
+ regulationPrice: null,
186
+ type: "quantity",
187
+ apiAlias: "cart_price_quantity",
188
+ },
189
+ payload: {
190
+ isNew: false,
191
+ stock: 997,
192
+ taxId: "a5da76b447db4d0aba62e6512dadf45b",
193
+ tagIds: null,
194
+ options: [],
195
+ features: [],
196
+ parentId: null,
197
+ createdAt: "2023-02-07 10:32:33.501",
198
+ optionIds: null,
199
+ streamIds: [
200
+ "1318833f46df457981763b94179d9ef0",
201
+ "5675448d6b3a4dd2a659d31a3dde74da",
202
+ ],
203
+ isCloseout: true,
204
+ categoryIds: [
205
+ "525abe8981214bd2ba94fd33942333ec",
206
+ "bda4b60e845240b2b9d6b60e71196e14",
207
+ "e5320bfe6ff04505a442fb5843664947",
208
+ ],
209
+ propertyIds: null,
210
+ releaseDate: null,
211
+ customFields: [],
212
+ productNumber: "SW20009",
213
+ manufacturerId: "7c46da8d52da4909aeb7bd9105028bc1",
214
+ purchasePrices:
215
+ "{\u0022extensions\u0022:[],\u0022currencyId\u0022:\u0022b7d2554b0ce847cd82f3ac9bd1c0dfca\u0022,\u0022net\u0022:0,\u0022gross\u0022:0,\u0022linked\u0022:true,\u0022listPrice\u0022:null,\u0022percentage\u0022:null,\u0022regulationPrice\u0022:null}",
216
+ markAsTopseller: null,
217
+ },
218
+ parentId: null,
219
+ parent: null,
220
+ type: "product",
221
+ orderDeliveryPositions: null,
222
+ cover: {
223
+ translated: {
224
+ alt: null,
225
+ title: null,
226
+ customFields: {},
227
+ },
228
+ createdAt: "2023-02-07T10:32:29.955+00:00",
229
+ updatedAt: "2023-02-07T10:32:30.167+00:00",
230
+ mimeType: "image/png",
231
+ fileExtension: "png",
232
+ fileSize: 63227,
233
+ title: null,
234
+ metaData: {
235
+ hash: "4a6e215d0c33e7c037553fa1b861501b",
236
+ type: 3,
237
+ width: 1799,
238
+ height: 1028,
239
+ },
240
+ uploadedAt: "2023-02-07T10:32:30.161+00:00",
241
+ alt: null,
242
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/media/0f/3a/c6/1675765950/digital-ticket.png?1675765950",
243
+ fileName: "digital-ticket",
244
+ translations: null,
245
+ thumbnails: [
246
+ {
247
+ translated: [],
248
+ createdAt: "2023-02-07T10:32:31.126+00:00",
249
+ updatedAt: null,
250
+ width: 800,
251
+ path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_800x800.png",
252
+ height: 800,
253
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_800x800.png?1675765951",
254
+ mediaId: "69283dd3e92045259b24b5ad0a31abb6",
255
+ customFields: null,
256
+ id: "28607fc76ad44b6f9ebe0d0ec7749ebd",
257
+ apiAlias: "media_thumbnail",
258
+ },
259
+ {
260
+ translated: [],
261
+ createdAt: "2023-02-07T10:32:31.126+00:00",
262
+ updatedAt: null,
263
+ width: 1920,
264
+ path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_1920x1920.png",
265
+ height: 1920,
266
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_1920x1920.png?1675765951",
267
+ mediaId: "69283dd3e92045259b24b5ad0a31abb6",
268
+ customFields: null,
269
+ id: "534abbbbd0cc47779cd94be6aaa52612",
270
+ apiAlias: "media_thumbnail",
271
+ },
272
+ {
273
+ translated: [],
274
+ createdAt: "2023-02-07T10:32:31.126+00:00",
275
+ updatedAt: null,
276
+ width: 400,
277
+ path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_400x400.png",
278
+ height: 400,
279
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_400x400.png?1675765951",
280
+ mediaId: "69283dd3e92045259b24b5ad0a31abb6",
281
+ customFields: null,
282
+ id: "601651ae48054db49d15091d709ac9f1",
283
+ apiAlias: "media_thumbnail",
284
+ },
285
+ ],
286
+ hasFile: true,
287
+ private: false,
288
+ path: "media/0f/3a/c6/1675765950/digital-ticket.png",
289
+ config: null,
290
+ customFields: null,
291
+ id: "69283dd3e92045259b24b5ad0a31abb6",
292
+ apiAlias: "media",
293
+ },
294
+ children: null,
295
+ states: ["is-download"],
296
+ downloads: [
297
+ {
298
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
299
+ translated: [],
300
+ createdAt: "2023-12-14T12:00:18.504+00:00",
301
+ updatedAt: null,
302
+ orderLineItemId: "018c6832f19a7348be5d974fc4c4ff08",
303
+ orderLineItemVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
304
+ mediaId: "ec366cdaafd44d3fb0647c4438d5c255",
305
+ position: 0,
306
+ media: {
307
+ translated: {
308
+ alt: null,
309
+ title: null,
310
+ customFields: {},
311
+ },
312
+ createdAt: "2023-02-07T10:31:32.634+00:00",
313
+ updatedAt: "2023-02-07T10:31:33.038+00:00",
314
+ mimeType: "image/png",
315
+ fileExtension: "png",
316
+ fileSize: 63227,
317
+ title: null,
318
+ metaData: {
319
+ hash: "4a6e215d0c33e7c037553fa1b861501b",
320
+ type: 3,
321
+ width: 1799,
322
+ height: 1028,
323
+ },
324
+ uploadedAt: "2023-02-07T10:31:32.996+00:00",
325
+ alt: null,
326
+ url: "",
327
+ fileName: "digital-ticket",
328
+ translations: null,
329
+ thumbnails: [],
330
+ hasFile: true,
331
+ private: true,
332
+ path: "media/b4/f5/56/1675765892/digital-ticket.png",
333
+ config: null,
334
+ customFields: null,
335
+ id: "ec366cdaafd44d3fb0647c4438d5c255",
336
+ apiAlias: "media",
337
+ },
338
+ orderLineItem: null,
339
+ accessGranted: false,
340
+ customFields: null,
341
+ id: "018c6832f1b6721e9f22ac71dd360e4a",
342
+ apiAlias: "order_line_item_download",
343
+ },
344
+ ],
345
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
346
+ productVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
347
+ parentVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
348
+ customFields: null,
349
+ id: "018c6832f19a7348be5d974fc4c4ff08",
350
+ apiAlias: "order_line_item",
351
+ },
352
+ ],
353
+ transactions: [
354
+ {
355
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
356
+ translated: [],
357
+ createdAt: "2024-05-16T17:51:53.124+00:00",
358
+ updatedAt: null,
359
+ orderId: "018c6832f1a1731db276839b3f251fc2",
360
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
361
+ paymentMethodId: "754b5604da514b6d9845385aafd1ed19",
362
+ amount: {
363
+ unitPrice: 100,
364
+ quantity: 1,
365
+ totalPrice: 100,
366
+ calculatedTaxes: [
367
+ {
368
+ tax: 18.7,
369
+ taxRate: 23,
370
+ price: 100,
371
+ apiAlias: "cart_tax_calculated",
372
+ },
373
+ ],
374
+ taxRules: [
375
+ {
376
+ taxRate: 23,
377
+ percentage: 100,
378
+ apiAlias: "cart_tax_rule",
379
+ },
380
+ ],
381
+ referencePrice: null,
382
+ listPrice: null,
383
+ regulationPrice: null,
384
+ apiAlias: "calculated_price",
385
+ },
386
+ paymentMethod: {
387
+ translated: {
388
+ name: "Invoice",
389
+ distinguishableName: "Invoice",
390
+ description:
391
+ "Payment by invoice. Shopware provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
392
+ customFields: {},
393
+ },
394
+ createdAt: "2020-08-06T06:23:31.916+00:00",
395
+ updatedAt: "2023-09-05T10:51:14.767+00:00",
396
+ name: "Invoice",
397
+ distinguishableName: "Invoice",
398
+ description:
399
+ "Payment by invoice. Shopware provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
400
+ position: 38,
401
+ active: true,
402
+ afterOrderEnabled: true,
403
+ translations: null,
404
+ mediaId: null,
405
+ media: null,
406
+ shortName: "invoice_payment",
407
+ technicalName: "payment_invoicepayment",
408
+ synchronous: true,
409
+ asynchronous: false,
410
+ prepared: false,
411
+ refundable: false,
412
+ recurring: true,
413
+ customFields: null,
414
+ id: "754b5604da514b6d9845385aafd1ed19",
415
+ apiAlias: "payment_method",
416
+ },
417
+ stateMachineState: null,
418
+ stateId: "de742ffb9f25433fb5058c31ea892d84",
419
+ captures: null,
420
+ customFields: null,
421
+ id: "018f82882ae772a9957bf1aef35879bb",
422
+ apiAlias: "order_transaction",
423
+ },
424
+ {
425
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
426
+ translated: [],
427
+ createdAt: "2024-05-16T17:50:39.829+00:00",
428
+ updatedAt: "2024-05-16T17:51:52.664+00:00",
429
+ orderId: "018c6832f1a1731db276839b3f251fc2",
430
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
431
+ paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
432
+ amount: {
433
+ unitPrice: 100,
434
+ quantity: 1,
435
+ totalPrice: 100,
436
+ calculatedTaxes: [
437
+ {
438
+ tax: 18.7,
439
+ taxRate: 23,
440
+ price: 100,
441
+ apiAlias: "cart_tax_calculated",
442
+ },
443
+ ],
444
+ taxRules: [
445
+ {
446
+ taxRate: 23,
447
+ percentage: 100,
448
+ apiAlias: "cart_tax_rule",
449
+ },
450
+ ],
451
+ referencePrice: null,
452
+ listPrice: null,
453
+ regulationPrice: null,
454
+ apiAlias: "calculated_price",
455
+ },
456
+ paymentMethod: {
457
+ translated: {
458
+ name: "Cash on delivery",
459
+ distinguishableName: "Cash on delivery",
460
+ description: "Payment upon receipt of goods.",
461
+ customFields: {},
462
+ },
463
+ createdAt: "2020-08-06T06:23:31.928+00:00",
464
+ updatedAt: "2023-09-05T10:51:16.176+00:00",
465
+ name: "Cash on delivery",
466
+ distinguishableName: "Cash on delivery",
467
+ description: "Payment upon receipt of goods.",
468
+ position: 36,
469
+ active: true,
470
+ afterOrderEnabled: true,
471
+ translations: null,
472
+ mediaId: null,
473
+ media: null,
474
+ shortName: "cash_payment",
475
+ technicalName: "payment_cashpayment",
476
+ synchronous: true,
477
+ asynchronous: false,
478
+ prepared: false,
479
+ refundable: false,
480
+ recurring: false,
481
+ customFields: null,
482
+ id: "b7f6cd663b774e9485e33ed1a776c8d9",
483
+ apiAlias: "payment_method",
484
+ },
485
+ stateMachineState: null,
486
+ stateId: "d21324f87df0450d99d6275b716efa45",
487
+ captures: null,
488
+ customFields: null,
489
+ id: "018f82870c9a73a49ba3c3d0c506e706",
490
+ apiAlias: "order_transaction",
491
+ },
492
+ {
493
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
494
+ translated: [],
495
+ createdAt: "2024-05-16T16:05:45.992+00:00",
496
+ updatedAt: "2024-05-16T17:50:39.351+00:00",
497
+ orderId: "018c6832f1a1731db276839b3f251fc2",
498
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
499
+ paymentMethodId: "754b5604da514b6d9845385aafd1ed19",
500
+ amount: {
501
+ unitPrice: 100,
502
+ quantity: 1,
503
+ totalPrice: 100,
504
+ calculatedTaxes: [
505
+ {
506
+ tax: 18.7,
507
+ taxRate: 23,
508
+ price: 100,
509
+ apiAlias: "cart_tax_calculated",
510
+ },
511
+ ],
512
+ taxRules: [
513
+ {
514
+ taxRate: 23,
515
+ percentage: 100,
516
+ apiAlias: "cart_tax_rule",
517
+ },
518
+ ],
519
+ referencePrice: null,
520
+ listPrice: null,
521
+ regulationPrice: null,
522
+ apiAlias: "calculated_price",
523
+ },
524
+ paymentMethod: {
525
+ translated: {
526
+ name: "Invoice",
527
+ distinguishableName: "Invoice",
528
+ description:
529
+ "Payment by invoice. Shopware provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
530
+ customFields: {},
531
+ },
532
+ createdAt: "2020-08-06T06:23:31.916+00:00",
533
+ updatedAt: "2023-09-05T10:51:14.767+00:00",
534
+ name: "Invoice",
535
+ distinguishableName: "Invoice",
536
+ description:
537
+ "Payment by invoice. Shopware provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
538
+ position: 38,
539
+ active: true,
540
+ afterOrderEnabled: true,
541
+ translations: null,
542
+ mediaId: null,
543
+ media: null,
544
+ shortName: "invoice_payment",
545
+ technicalName: "payment_invoicepayment",
546
+ synchronous: true,
547
+ asynchronous: false,
548
+ prepared: false,
549
+ refundable: false,
550
+ recurring: true,
551
+ customFields: null,
552
+ id: "754b5604da514b6d9845385aafd1ed19",
553
+ apiAlias: "payment_method",
554
+ },
555
+ stateMachineState: null,
556
+ stateId: "d21324f87df0450d99d6275b716efa45",
557
+ captures: null,
558
+ customFields: null,
559
+ id: "018f82270338738ca1e07b7812437a59",
560
+ apiAlias: "order_transaction",
561
+ },
562
+ {
563
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
564
+ translated: [],
565
+ createdAt: "2024-04-17T18:00:30.169+00:00",
566
+ updatedAt: "2024-05-16T16:05:45.325+00:00",
567
+ orderId: "018c6832f1a1731db276839b3f251fc2",
568
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
569
+ paymentMethodId: "018a643be20e70cb9586f21f8e570045",
570
+ amount: {
571
+ unitPrice: 100,
572
+ quantity: 1,
573
+ totalPrice: 100,
574
+ calculatedTaxes: [
575
+ {
576
+ tax: 18.7,
577
+ taxRate: 23,
578
+ price: 100,
579
+ apiAlias: "cart_tax_calculated",
580
+ },
581
+ ],
582
+ taxRules: [
583
+ {
584
+ taxRate: 23,
585
+ percentage: 100,
586
+ apiAlias: "cart_tax_rule",
587
+ },
588
+ ],
589
+ referencePrice: null,
590
+ listPrice: null,
591
+ regulationPrice: null,
592
+ apiAlias: "calculated_price",
593
+ },
594
+ paymentMethod: {
595
+ translated: {
596
+ name: "Credit/Debit card",
597
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
598
+ description: null,
599
+ customFields: {},
600
+ },
601
+ createdAt: "2023-09-05T07:26:00.740+00:00",
602
+ updatedAt: "2024-05-17T08:48:34.832+00:00",
603
+ name: "Credit/Debit card",
604
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
605
+ description: null,
606
+ position: 1,
607
+ active: true,
608
+ afterOrderEnabled: true,
609
+ translations: null,
610
+ mediaId: "018a643bd4de73f3906c333b2db237e9",
611
+ media: null,
612
+ shortName: "mollie_payments_app_mollie_creditcard",
613
+ technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
614
+ synchronous: false,
615
+ asynchronous: true,
616
+ prepared: false,
617
+ refundable: false,
618
+ recurring: false,
619
+ customFields: null,
620
+ id: "018a643be20e70cb9586f21f8e570045",
621
+ apiAlias: "payment_method",
622
+ },
623
+ stateMachineState: null,
624
+ stateId: "d21324f87df0450d99d6275b716efa45",
625
+ captures: null,
626
+ customFields: null,
627
+ id: "018eed37a26d7073a5c6a5ec9a5c6678",
628
+ apiAlias: "order_transaction",
629
+ },
630
+ {
631
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
632
+ translated: [],
633
+ createdAt: "2024-04-17T17:25:38.375+00:00",
634
+ updatedAt: "2024-04-17T18:00:29.618+00:00",
635
+ orderId: "018c6832f1a1731db276839b3f251fc2",
636
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
637
+ paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
638
+ amount: {
639
+ unitPrice: 100,
640
+ quantity: 1,
641
+ totalPrice: 100,
642
+ calculatedTaxes: [
643
+ {
644
+ tax: 18.7,
645
+ taxRate: 23,
646
+ price: 100,
647
+ apiAlias: "cart_tax_calculated",
648
+ },
649
+ ],
650
+ taxRules: [
651
+ {
652
+ taxRate: 23,
653
+ percentage: 100,
654
+ apiAlias: "cart_tax_rule",
655
+ },
656
+ ],
657
+ referencePrice: null,
658
+ listPrice: null,
659
+ regulationPrice: null,
660
+ apiAlias: "calculated_price",
661
+ },
662
+ paymentMethod: {
663
+ translated: {
664
+ name: "Cash on delivery",
665
+ distinguishableName: "Cash on delivery",
666
+ description: "Payment upon receipt of goods.",
667
+ customFields: {},
668
+ },
669
+ createdAt: "2020-08-06T06:23:31.928+00:00",
670
+ updatedAt: "2023-09-05T10:51:16.176+00:00",
671
+ name: "Cash on delivery",
672
+ distinguishableName: "Cash on delivery",
673
+ description: "Payment upon receipt of goods.",
674
+ position: 36,
675
+ active: true,
676
+ afterOrderEnabled: true,
677
+ translations: null,
678
+ mediaId: null,
679
+ media: null,
680
+ shortName: "cash_payment",
681
+ technicalName: "payment_cashpayment",
682
+ synchronous: true,
683
+ asynchronous: false,
684
+ prepared: false,
685
+ refundable: false,
686
+ recurring: false,
687
+ customFields: null,
688
+ id: "b7f6cd663b774e9485e33ed1a776c8d9",
689
+ apiAlias: "payment_method",
690
+ },
691
+ stateMachineState: null,
692
+ stateId: "d21324f87df0450d99d6275b716efa45",
693
+ captures: null,
694
+ customFields: null,
695
+ id: "018eed17b78b701195f71b7f2f2f8fc1",
696
+ apiAlias: "order_transaction",
697
+ },
698
+ {
699
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
700
+ translated: [],
701
+ createdAt: "2024-04-17T17:25:35.406+00:00",
702
+ updatedAt: "2024-04-17T17:25:38.005+00:00",
703
+ orderId: "018c6832f1a1731db276839b3f251fc2",
704
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
705
+ paymentMethodId: "018a643be20e70cb9586f21f8e570045",
706
+ amount: {
707
+ unitPrice: 100,
708
+ quantity: 1,
709
+ totalPrice: 100,
710
+ calculatedTaxes: [
711
+ {
712
+ tax: 18.7,
713
+ taxRate: 23,
714
+ price: 100,
715
+ apiAlias: "cart_tax_calculated",
716
+ },
717
+ ],
718
+ taxRules: [
719
+ {
720
+ taxRate: 23,
721
+ percentage: 100,
722
+ apiAlias: "cart_tax_rule",
723
+ },
724
+ ],
725
+ referencePrice: null,
726
+ listPrice: null,
727
+ regulationPrice: null,
728
+ apiAlias: "calculated_price",
729
+ },
730
+ paymentMethod: {
731
+ translated: {
732
+ name: "Credit/Debit card",
733
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
734
+ description: null,
735
+ customFields: {},
736
+ },
737
+ createdAt: "2023-09-05T07:26:00.740+00:00",
738
+ updatedAt: "2024-05-17T08:48:34.832+00:00",
739
+ name: "Credit/Debit card",
740
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
741
+ description: null,
742
+ position: 1,
743
+ active: true,
744
+ afterOrderEnabled: true,
745
+ translations: null,
746
+ mediaId: "018a643bd4de73f3906c333b2db237e9",
747
+ media: null,
748
+ shortName: "mollie_payments_app_mollie_creditcard",
749
+ technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
750
+ synchronous: false,
751
+ asynchronous: true,
752
+ prepared: false,
753
+ refundable: false,
754
+ recurring: false,
755
+ customFields: null,
756
+ id: "018a643be20e70cb9586f21f8e570045",
757
+ apiAlias: "payment_method",
758
+ },
759
+ stateMachineState: null,
760
+ stateId: "d21324f87df0450d99d6275b716efa45",
761
+ captures: null,
762
+ customFields: null,
763
+ id: "018eed17ac0270bda7820389497f6830",
764
+ apiAlias: "order_transaction",
765
+ },
766
+ {
767
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
768
+ translated: [],
769
+ createdAt: "2024-04-17T17:25:31.489+00:00",
770
+ updatedAt: "2024-04-17T17:25:35.098+00:00",
771
+ orderId: "018c6832f1a1731db276839b3f251fc2",
772
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
773
+ paymentMethodId: "018da728452a737f87294f3b55216bd4",
774
+ amount: {
775
+ unitPrice: 100,
776
+ quantity: 1,
777
+ totalPrice: 100,
778
+ calculatedTaxes: [
779
+ {
780
+ tax: 18.7,
781
+ taxRate: 23,
782
+ price: 100,
783
+ apiAlias: "cart_tax_calculated",
784
+ },
785
+ ],
786
+ taxRules: [
787
+ {
788
+ taxRate: 23,
789
+ percentage: 100,
790
+ apiAlias: "cart_tax_rule",
791
+ },
792
+ ],
793
+ referencePrice: null,
794
+ listPrice: null,
795
+ regulationPrice: null,
796
+ apiAlias: "calculated_price",
797
+ },
798
+ paymentMethod: {
799
+ translated: {
800
+ name: "Pay online",
801
+ distinguishableName: "Pay online | Stripe",
802
+ description:
803
+ "This payment method requires forwarding to payment provider.",
804
+ customFields: {},
805
+ },
806
+ createdAt: "2024-02-14T10:27:30.734+00:00",
807
+ updatedAt: "2024-05-17T08:48:34.898+00:00",
808
+ name: "Pay online",
809
+ distinguishableName: "Pay online | Stripe",
810
+ description:
811
+ "This payment method requires forwarding to payment provider.",
812
+ position: 1,
813
+ active: true,
814
+ afterOrderEnabled: true,
815
+ translations: null,
816
+ mediaId: null,
817
+ media: null,
818
+ shortName: "stripe_payments_app_stripe_payment",
819
+ technicalName: "payment_StripePaymentsApp_stripePayment",
820
+ synchronous: false,
821
+ asynchronous: true,
822
+ prepared: false,
823
+ refundable: true,
824
+ recurring: false,
825
+ customFields: null,
826
+ id: "018da728452a737f87294f3b55216bd4",
827
+ apiAlias: "payment_method",
828
+ },
829
+ stateMachineState: null,
830
+ stateId: "d21324f87df0450d99d6275b716efa45",
831
+ captures: null,
832
+ customFields: null,
833
+ id: "018eed179c9771a686ad5e31b1e169b1",
834
+ apiAlias: "order_transaction",
835
+ },
836
+ {
837
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
838
+ translated: [],
839
+ createdAt: "2024-04-17T13:46:26.119+00:00",
840
+ updatedAt: "2024-04-17T17:25:30.984+00:00",
841
+ orderId: "018c6832f1a1731db276839b3f251fc2",
842
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
843
+ paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
844
+ amount: {
845
+ unitPrice: 100,
846
+ quantity: 1,
847
+ totalPrice: 100,
848
+ calculatedTaxes: [
849
+ {
850
+ tax: 18.7,
851
+ taxRate: 23,
852
+ price: 100,
853
+ apiAlias: "cart_tax_calculated",
854
+ },
855
+ ],
856
+ taxRules: [
857
+ {
858
+ taxRate: 23,
859
+ percentage: 100,
860
+ apiAlias: "cart_tax_rule",
861
+ },
862
+ ],
863
+ referencePrice: null,
864
+ listPrice: null,
865
+ regulationPrice: null,
866
+ apiAlias: "calculated_price",
867
+ },
868
+ paymentMethod: {
869
+ translated: {
870
+ name: "Cash on delivery",
871
+ distinguishableName: "Cash on delivery",
872
+ description: "Payment upon receipt of goods.",
873
+ customFields: {},
874
+ },
875
+ createdAt: "2020-08-06T06:23:31.928+00:00",
876
+ updatedAt: "2023-09-05T10:51:16.176+00:00",
877
+ name: "Cash on delivery",
878
+ distinguishableName: "Cash on delivery",
879
+ description: "Payment upon receipt of goods.",
880
+ position: 36,
881
+ active: true,
882
+ afterOrderEnabled: true,
883
+ translations: null,
884
+ mediaId: null,
885
+ media: null,
886
+ shortName: "cash_payment",
887
+ technicalName: "payment_cashpayment",
888
+ synchronous: true,
889
+ asynchronous: false,
890
+ prepared: false,
891
+ refundable: false,
892
+ recurring: false,
893
+ customFields: null,
894
+ id: "b7f6cd663b774e9485e33ed1a776c8d9",
895
+ apiAlias: "payment_method",
896
+ },
897
+ stateMachineState: null,
898
+ stateId: "d21324f87df0450d99d6275b716efa45",
899
+ captures: null,
900
+ customFields: null,
901
+ id: "018eec4f0782727c95cd1fbe9094c891",
902
+ apiAlias: "order_transaction",
903
+ },
904
+ {
905
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
906
+ translated: [],
907
+ createdAt: "2024-04-17T13:38:13.370+00:00",
908
+ updatedAt: "2024-04-17T13:46:25.763+00:00",
909
+ orderId: "018c6832f1a1731db276839b3f251fc2",
910
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
911
+ paymentMethodId: "018da728452a737f87294f3b55216bd4",
912
+ amount: {
913
+ unitPrice: 100,
914
+ quantity: 1,
915
+ totalPrice: 100,
916
+ calculatedTaxes: [
917
+ {
918
+ tax: 18.7,
919
+ taxRate: 23,
920
+ price: 100,
921
+ apiAlias: "cart_tax_calculated",
922
+ },
923
+ ],
924
+ taxRules: [
925
+ {
926
+ taxRate: 23,
927
+ percentage: 100,
928
+ apiAlias: "cart_tax_rule",
929
+ },
930
+ ],
931
+ referencePrice: null,
932
+ listPrice: null,
933
+ regulationPrice: null,
934
+ apiAlias: "calculated_price",
935
+ },
936
+ paymentMethod: {
937
+ translated: {
938
+ name: "Pay online",
939
+ distinguishableName: "Pay online | Stripe",
940
+ description:
941
+ "This payment method requires forwarding to payment provider.",
942
+ customFields: {},
943
+ },
944
+ createdAt: "2024-02-14T10:27:30.734+00:00",
945
+ updatedAt: "2024-05-17T08:48:34.898+00:00",
946
+ name: "Pay online",
947
+ distinguishableName: "Pay online | Stripe",
948
+ description:
949
+ "This payment method requires forwarding to payment provider.",
950
+ position: 1,
951
+ active: true,
952
+ afterOrderEnabled: true,
953
+ translations: null,
954
+ mediaId: null,
955
+ media: null,
956
+ shortName: "stripe_payments_app_stripe_payment",
957
+ technicalName: "payment_StripePaymentsApp_stripePayment",
958
+ synchronous: false,
959
+ asynchronous: true,
960
+ prepared: false,
961
+ refundable: true,
962
+ recurring: false,
963
+ customFields: null,
964
+ id: "018da728452a737f87294f3b55216bd4",
965
+ apiAlias: "payment_method",
966
+ },
967
+ stateMachineState: null,
968
+ stateId: "d21324f87df0450d99d6275b716efa45",
969
+ captures: null,
970
+ customFields: null,
971
+ id: "018eec4782bf70bba40c15037269e0f4",
972
+ apiAlias: "order_transaction",
973
+ },
974
+ {
975
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
976
+ translated: [],
977
+ createdAt: "2024-04-17T13:37:41.657+00:00",
978
+ updatedAt: "2024-04-17T13:38:12.979+00:00",
979
+ orderId: "018c6832f1a1731db276839b3f251fc2",
980
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
981
+ paymentMethodId: "018a643be20e70cb9586f21f8e570045",
982
+ amount: {
983
+ unitPrice: 100,
984
+ quantity: 1,
985
+ totalPrice: 100,
986
+ calculatedTaxes: [
987
+ {
988
+ tax: 18.7,
989
+ taxRate: 23,
990
+ price: 100,
991
+ apiAlias: "cart_tax_calculated",
992
+ },
993
+ ],
994
+ taxRules: [
995
+ {
996
+ taxRate: 23,
997
+ percentage: 100,
998
+ apiAlias: "cart_tax_rule",
999
+ },
1000
+ ],
1001
+ referencePrice: null,
1002
+ listPrice: null,
1003
+ regulationPrice: null,
1004
+ apiAlias: "calculated_price",
1005
+ },
1006
+ paymentMethod: {
1007
+ translated: {
1008
+ name: "Credit/Debit card",
1009
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
1010
+ description: null,
1011
+ customFields: {},
1012
+ },
1013
+ createdAt: "2023-09-05T07:26:00.740+00:00",
1014
+ updatedAt: "2024-05-17T08:48:34.832+00:00",
1015
+ name: "Credit/Debit card",
1016
+ distinguishableName: "Credit/Debit card | Mollie Payments App",
1017
+ description: null,
1018
+ position: 1,
1019
+ active: true,
1020
+ afterOrderEnabled: true,
1021
+ translations: null,
1022
+ mediaId: "018a643bd4de73f3906c333b2db237e9",
1023
+ media: null,
1024
+ shortName: "mollie_payments_app_mollie_creditcard",
1025
+ technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
1026
+ synchronous: false,
1027
+ asynchronous: true,
1028
+ prepared: false,
1029
+ refundable: false,
1030
+ recurring: false,
1031
+ customFields: null,
1032
+ id: "018a643be20e70cb9586f21f8e570045",
1033
+ apiAlias: "payment_method",
1034
+ },
1035
+ stateMachineState: null,
1036
+ stateId: "d21324f87df0450d99d6275b716efa45",
1037
+ captures: null,
1038
+ customFields: null,
1039
+ id: "018eec4706da71869b74d05f6bd37a2f",
1040
+ apiAlias: "order_transaction",
1041
+ },
1042
+ {
1043
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
1044
+ translated: [],
1045
+ createdAt: "2023-12-14T12:00:18.508+00:00",
1046
+ updatedAt: "2024-04-17T13:37:41.133+00:00",
1047
+ orderId: "018c6832f1a1731db276839b3f251fc2",
1048
+ orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
1049
+ paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
1050
+ amount: {
1051
+ unitPrice: 100,
1052
+ quantity: 1,
1053
+ totalPrice: 100,
1054
+ calculatedTaxes: [
1055
+ {
1056
+ tax: 18.7,
1057
+ taxRate: 23,
1058
+ price: 100,
1059
+ apiAlias: "cart_tax_calculated",
1060
+ },
1061
+ ],
1062
+ taxRules: [
1063
+ {
1064
+ taxRate: 23,
1065
+ percentage: 100,
1066
+ apiAlias: "cart_tax_rule",
1067
+ },
1068
+ ],
1069
+ referencePrice: null,
1070
+ listPrice: null,
1071
+ regulationPrice: null,
1072
+ apiAlias: "calculated_price",
1073
+ },
1074
+ paymentMethod: {
1075
+ translated: {
1076
+ name: "Cash on delivery",
1077
+ distinguishableName: "Cash on delivery",
1078
+ description: "Payment upon receipt of goods.",
1079
+ customFields: {},
1080
+ },
1081
+ createdAt: "2020-08-06T06:23:31.928+00:00",
1082
+ updatedAt: "2023-09-05T10:51:16.176+00:00",
1083
+ name: "Cash on delivery",
1084
+ distinguishableName: "Cash on delivery",
1085
+ description: "Payment upon receipt of goods.",
1086
+ position: 36,
1087
+ active: true,
1088
+ afterOrderEnabled: true,
1089
+ translations: null,
1090
+ mediaId: null,
1091
+ media: null,
1092
+ shortName: "cash_payment",
1093
+ technicalName: "payment_cashpayment",
1094
+ synchronous: true,
1095
+ asynchronous: false,
1096
+ prepared: false,
1097
+ refundable: false,
1098
+ recurring: false,
1099
+ customFields: null,
1100
+ id: "b7f6cd663b774e9485e33ed1a776c8d9",
1101
+ apiAlias: "payment_method",
1102
+ },
1103
+ stateMachineState: null,
1104
+ stateId: "d21324f87df0450d99d6275b716efa45",
1105
+ captures: null,
1106
+ customFields: null,
1107
+ id: "018c6832f1b77155b08d2e54d525cc4f",
1108
+ apiAlias: "order_transaction",
1109
+ },
1110
+ ],
1111
+ deepLinkCode: "VNHzUJi2ioujVWdnCeYzExOihpHcxX3S",
1112
+ stateMachineState: {
1113
+ translated: {
1114
+ name: "Open",
1115
+ customFields: {},
1116
+ },
1117
+ createdAt: "2020-08-06T06:23:32.791+00:00",
1118
+ updatedAt: null,
1119
+ name: "Open",
1120
+ technicalName: "open",
1121
+ customFields: null,
1122
+ apiAlias: "state_machine_state",
1123
+ },
1124
+ documents: [],
1125
+ tags: null,
1126
+ affiliateCode: null,
1127
+ campaignCode: null,
1128
+ customerComment: null,
1129
+ createdById: null,
1130
+ updatedById: null,
1131
+ source: null,
1132
+ customFields: null,
1133
+ id: "018c6832f1a1731db276839b3f251fc2",
1134
+ apiAlias: "order",
1135
+ },
1136
+ ],
1137
+ aggregations: [],
1138
+ page: 1,
1139
+ limit: 100,
1140
+ entity: "order",
1141
+ total: 1,
1142
+ states: [],
1143
+ apiAlias: "dal_entity_search_result",
1144
+ },
1145
+ paymentChangeable: {
1146
+ "018c6832f1a1731db276839b3f251fc2": true,
1147
+ "123-test": true,
1148
+ },
1149
+ };
1150
+
1151
+ export default Order;