@labdigital/commercetools-mock 2.44.0 → 2.45.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labdigital/commercetools-mock",
3
- "version": "2.44.0",
3
+ "version": "2.45.0",
4
4
  "license": "MIT",
5
5
  "author": "Michael van Tellingen",
6
6
  "type": "module",
@@ -24,6 +24,7 @@ export class PaymentRepository extends AbstractResourceRepository<"payment"> {
24
24
  create(context: RepositoryContext, draft: PaymentDraft): Payment {
25
25
  const resource: Payment = {
26
26
  ...getBaseResourceProperties(),
27
+ key: draft.key,
27
28
  amountPlanned: createCentPrecisionMoney(draft.amountPlanned),
28
29
  paymentMethodInfo: draft.paymentMethodInfo!,
29
30
  paymentStatus: draft.paymentStatus