Liferay.Loader.define("commerce-frontend-js@4.0.52/ServiceProvider/commerce-delivery-cart/v1.0/CartItem",["module","exports","require","../../../utilities/AJAX/index"],(function(e,t,c){var a;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{createItemByCartId:(t,c)=>r.default.POST(d(e,t),c),deleteItemById:t=>r.default.DELETE(n(e,t)),getItemById:t=>r.default.GET(n(e,t)),getItemsByCartId:t=>r.default.GET(d(e,t)),replaceItemById:(t,c)=>r.default.PUT(n(e,t),c),updateItemById:(t,c)=>r.default.PATCH(n(e,t),c)}};var r=(a=c("../../../utilities/AJAX/index"))&&a.__esModule?a:{default:a};const e="/carts",o="/cart-items",u="/items",i="v1.0";function d(t="",c){return"".concat(t).concat(i).concat(e,"/").concat(c).concat(u)}function n(e="",t){return"".concat(e).concat(i).concat(o,"/").concat(t)}}}));
//# sourceMappingURL=CartItem.js.map