Compare commits

...
Sign in to create a new pull request.

2 commits

2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# BAIS-POLICY-1783705261-attempt-1
Forge 이슈 작업 브랜치 `forge/BAIS-POLICY-1783705261-attempt-1`.

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;
}
}