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