PaymentService 정책 기반 전환 (BAIS-POLICY-1783705261)

This commit is contained in:
forge-bot 2026-07-10 17:41:44 +00:00
parent c8218e644d
commit 06fe67bb40

View file

@ -0,0 +1,10 @@
package com.example.baispolicy;
public class PaymentService {
public String approve(String transactionId) {
if (transactionId == null || transactionId.isBlank()) {
throw new IllegalArgumentException("Transaction ID cannot be blank");
}
return "APPROVED:" + transactionId;
}
}