Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
| en:modul:m291:learningunits:lu04:loesungen:02 [2025/02/25 12:30] – vdemir | en:modul:m291:learningunits:lu04:loesungen:02 [2025/03/04 09:56] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| {{: | {{: | ||
| - | - freeShipmentAmount = calcFreeShipment(country) | + | - **freeShipmentAmount = calcFreeShipment(country)**: Calculates the free shipment amount regarding the country |
| - | - shoppingCartItems = sumShoppingItems(customerNo, | + | - **shoppingCartItems = sumShoppingItems(customerNo, |
| - | - shoppingCartItems = sumShoppingItems(customerNo, | + | - **shoppingCartItems = sumShoppingItems(customerNo, |
| - | - currentShipmentCost = calcShipmentCost(CustomerNo, | + | - **currentShipmentCost = calcShipmentCost(CustomerNo, |
| - | - shippingDate = (currentDate) | + | - **shippingDate = calcShippingDate(currentDate, availabilityTime):** regarding Swiss date format |
| - | - shoppingCartSum = sumShoopingPrices(customerNo, | + | - **shoppingCartSum = sumShoopingPrices(customerNo, |
| - | - currentPrice = calcActualPrice(price, | + | - **currentPrice = calcActualPrice(price, |
| - | - priceDiscount = calcDiscount(originalPrice, | + | - **priceDiscount = calcDiscount(originalPrice, |
| ---- | ---- | ||
| [[https:// | [[https:// | ||