@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/dist/index.js CHANGED
@@ -3867,6 +3867,7 @@ var PaymentRepository = class extends AbstractResourceRepository {
3867
3867
  create(context, draft) {
3868
3868
  const resource = {
3869
3869
  ...getBaseResourceProperties(),
3870
+ key: draft.key,
3870
3871
  amountPlanned: createCentPrecisionMoney(draft.amountPlanned),
3871
3872
  paymentMethodInfo: draft.paymentMethodInfo,
3872
3873
  paymentStatus: draft.paymentStatus ? {