Interface CommerceItemService

    • Method Detail

      • calculateTotalPrice

        java.math.BigDecimal calculateTotalPrice​(java.util.Collection<CommerceItem> items)
        Sums prices of commerce items.
        Parameters:
        items - items
        Returns:
        sum.
      • mapItems

        java.util.List<CommerceItemDTO> mapItems​(java.util.Collection<CommerceItem> items)
        Maps items to DTOs.
        Parameters:
        items - commerce items
        Returns:
        list of dto
      • extractSpecs

        java.util.Map<java.lang.String,​java.lang.Object> extractSpecs​(SellerSKU sellerSKU)
        Extracting specs of sku to list of maps.
        Parameters:
        sellerSKU - sellerSKU
        Returns:
        map of specs