import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;</BUG>
import java.util.function.Consumer;
@Service
public class DeleteOrder extends Action<Order> {
<BUG>private RestTemplate restTemplate;
public DeleteOrder(RestTemplate restTemplate) {
this.restTemplate = restTemplate;
}</BUG>
public Consumer<Order> getConsumer() {

import org.springframework.stereotype.Service;
import java.util.function.Consumer;
@Service
public class DeleteOrder extends Action<Order> {
private final Logger log = Logger.getLogger(this.getClass());
private final PaymentService paymentService;
public DeleteOrder(PaymentService paymentService) {
this.paymentService = paymentService;
}
public Consumer<Order> getConsumer() {
