From 1d1a558cfc5df5c7d649e1ade90829bd874f561c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Fri, 10 Jul 2026 16:55:59 +0000 Subject: [PATCH] =?UTF-8?q?PaymentService=20=EC=8A=B9=EC=9D=B8=20=EA=B7=9C?= =?UTF-8?q?=EC=B9=99=20=EA=B5=AC=ED=98=84=20(BAIS-SOURCE-1783702539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/baisgate/PaymentService.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/java/com/example/baisgate/PaymentService.java diff --git a/src/main/java/com/example/baisgate/PaymentService.java b/src/main/java/com/example/baisgate/PaymentService.java new file mode 100644 index 0000000..489d52a --- /dev/null +++ b/src/main/java/com/example/baisgate/PaymentService.java @@ -0,0 +1,10 @@ +package com.example.baisgate; + +public class PaymentService { + public String approve(String transactionId) { + if (transactionId == null || transactionId.trim().isEmpty()) { + throw new IllegalArgumentException("Transaction ID cannot be blank"); + } + return "APPROVED:" + transactionId; + } +} \ No newline at end of file