public static MozuUrl unAssignDiscountUrl ( String couponSetCode , Integer discountId ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/catalog/admin/couponsets/{couponSetCode}/assigneddiscounts/{discountId}" ) ; formatter . formatUrl ( "couponSetCode" , couponSetCode ) ; formatter . formatUrl ( "discountId" , discountId ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for UnAssignDiscount