@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.js
CHANGED
|
@@ -3953,6 +3953,9 @@ var OrderUpdateHandler = class extends AbstractUpdateHandler {
|
|
|
3953
3953
|
changePaymentState(context, resource, { paymentState }) {
|
|
3954
3954
|
resource.paymentState = paymentState;
|
|
3955
3955
|
}
|
|
3956
|
+
changeShipmentState(context, resource, { shipmentState }) {
|
|
3957
|
+
resource.shipmentState = shipmentState;
|
|
3958
|
+
}
|
|
3956
3959
|
setBillingAddress(context, resource, { address }) {
|
|
3957
3960
|
resource.billingAddress = createAddress(
|
|
3958
3961
|
address,
|