@infrab4a/connect-angular 4.17.3-beta.6 → 4.17.3-beta.7
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/esm2020/services/checkout.service.mjs +10 -3
- package/fesm2015/infrab4a-connect-angular.mjs +9 -2
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +9 -2
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/services/checkout.service.d.ts +9 -1
|
@@ -1407,9 +1407,16 @@ class CheckoutService {
|
|
|
1407
1407
|
checkoutId: checkout.id,
|
|
1408
1408
|
})));
|
|
1409
1409
|
}
|
|
1410
|
-
|
|
1411
|
-
return this.
|
|
1410
|
+
getShippingProduct(shippingProduct) {
|
|
1411
|
+
return this.http.post(`${this.checkoutUrl}/checkoutGetAvailableShipping`, {
|
|
1412
|
+
checkoutId: null,
|
|
1413
|
+
shippingProduct,
|
|
1414
|
+
});
|
|
1415
|
+
}
|
|
1416
|
+
getAvailableShipping(productShipping) {
|
|
1417
|
+
return this.getCheckout().pipe(concatMap((checkout) => this.http.post(`${this.checkoutUrl}/checkoutGetAvailableShipping`, {
|
|
1412
1418
|
checkoutId: checkout.id,
|
|
1419
|
+
productShipping,
|
|
1413
1420
|
})));
|
|
1414
1421
|
}
|
|
1415
1422
|
selectShipping(option) {
|