@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.
@@ -1407,9 +1407,16 @@ class CheckoutService {
1407
1407
  checkoutId: checkout.id,
1408
1408
  })));
1409
1409
  }
1410
- getAvailableShipping() {
1411
- return this.getCheckout().pipe(concatMap((checkout) => this.http.post(`${this.checkoutUrl}/checkoutValidateProductStock`, {
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) {