Compare commits
2 commits
main
...
forge/BAIS
| Author | SHA1 | Date | |
|---|---|---|---|
| 2891cd2710 | |||
| 2d291738c6 |
2 changed files with 13 additions and 0 deletions
3
.forge/BAIS-POLICY-1783705261-attempt-2.md
Normal file
3
.forge/BAIS-POLICY-1783705261-attempt-2.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# BAIS-POLICY-1783705261-attempt-2
|
||||
|
||||
Forge 이슈 작업 브랜치 `forge/BAIS-POLICY-1783705261-attempt-2`.
|
||||
10
src/main/java/com/example/baispolicy/PaymentService.java
Normal file
10
src/main/java/com/example/baispolicy/PaymentService.java
Normal 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("transactionId cannot be blank");
|
||||
}
|
||||
return "APPROVED:" + transactionId;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue