From 1d34b488883d59ff6ce11aed173834c6ab89f9f9 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Fri, 10 Jul 2026 18:02:27 +0000 Subject: [PATCH] =?UTF-8?q?PaymentService=20=EC=A0=95=EC=B1=85=20=EA=B8=B0?= =?UTF-8?q?=EB=B0=98=20=EC=A0=84=ED=99=98=20(BAIS-POLICY-1783705261)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/baispolicy/PaymentService.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/java/com/example/baispolicy/PaymentService.java diff --git a/src/main/java/com/example/baispolicy/PaymentService.java b/src/main/java/com/example/baispolicy/PaymentService.java new file mode 100644 index 0000000..420d154 --- /dev/null +++ b/src/main/java/com/example/baispolicy/PaymentService.java @@ -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 must not be blank."); + } + return "APPROVED:" + transactionId; + } +}