@labdigital/commercetools-mock 2.19.0 → 2.20.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
@@ -3767,6 +3767,9 @@ var OrderUpdateHandler = class extends AbstractUpdateHandler {
3767
3767
  setCustomerEmail(context, resource, { email }) {
3768
3768
  resource.customerEmail = email;
3769
3769
  }
3770
+ setCustomerId(context, resource, { customerId }) {
3771
+ resource.customerId = customerId;
3772
+ }
3770
3773
  setCustomField(context, resource, { name, value }) {
3771
3774
  if (!resource.custom) {
3772
3775
  throw new Error("Resource has no custom field");