 1 package buckpal.application.domain.service;
 2
 3 @RequiredArgsConstructor
 4 @Transactional
 5 public class SendMoneyService implements SendMoneyUseCase {
 6
 7   // ...
 8
 9   @Override
10   public boolean sendMoney(SendMoneyCommand command) {
11     requireAccountExists(command.sourceAccountId());
12     requireAccountExists(command.targetAccountId());
13     ...
14   }
15 }
