Liferay.Loader.define("commerce-frontend-js@4.0.75/ServiceProvider/commerce-admin-pricing/v2.0/DiscountRule",["module","exports","require","../../../utilities/AJAX/index"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function DiscountRule(t){return{addDiscountRule:(n,i)=>c.default.POST(function resolvePath(t="",n=""){return"".concat(t).concat(u).concat(e,"/").concat(n).concat(o)}(t,n),i),updateDiscountRule:(e,n)=>c.default.PATCH(function resolveRulePath(e="",t=""){return"".concat(e).concat(u).concat(o,"/").concat(t)}(t,e),n)}};var c=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n("../../../utilities/AJAX/index"));const e="/discounts",o="/discount-rules",u="v2.0"}}));
//# sourceMappingURL=DiscountRule.js.map