@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.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/payment/index.ts +1 -0
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 ? {
|