@labdigital/commercetools-mock 2.30.0 → 2.30.1
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 +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/order/actions.ts +9 -0
- package/src/services/order.test.ts +14 -0
package/dist/index.cjs
CHANGED
|
@@ -3990,6 +3990,9 @@ var OrderUpdateHandler = class extends AbstractUpdateHandler {
|
|
|
3990
3990
|
changePaymentState(context, resource, { paymentState }) {
|
|
3991
3991
|
resource.paymentState = paymentState;
|
|
3992
3992
|
}
|
|
3993
|
+
changeShipmentState(context, resource, { shipmentState }) {
|
|
3994
|
+
resource.shipmentState = shipmentState;
|
|
3995
|
+
}
|
|
3993
3996
|
setBillingAddress(context, resource, { address }) {
|
|
3994
3997
|
resource.billingAddress = createAddress(
|
|
3995
3998
|
address,
|