Skip to content

Conversation

@SonnySon17
Copy link
Contributor

No description provided.

@SonnySon17 SonnySon17 self-assigned this Dec 18, 2025
@SonnySon17 SonnySon17 requested a review from a team as a code owner December 18, 2025 07:41
@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
developers Ready Ready Preview, Comment Dec 18, 2025 8:02am

@gemini-code-assist
Copy link

Summary of Changes

Hello @SonnySon17, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 브라우저 SDK 내에서 카드 프로모션 기능을 지원하기 위한 스키마 업데이트를 포함합니다. 카드 프로모션 ID와 할인 금액을 포함하는 새로운 CardPromotion 객체를 정의하고, 이 객체를 결제 요청 흐름에 통합하여 특히 KCP 거래에서 카드사별 할인을 적용할 수 있도록 합니다.

Highlights

  • 카드 프로모션 스키마 추가: 카드 프로모션 정보를 정의하는 새로운 CardPromotion 객체 스키마가 추가되었습니다. 이 스키마는 promotionId (문자열)와 discountAmount (정수) 필드를 포함하며, 카드사 다이렉트 호출 시 적용될 할인 쿠폰 정보를 나타냅니다.
  • 결제 요청 스키마에 프로모션 필드 통합: 기존 결제 요청 스키마에 cardPromotion 필드가 선택적으로 추가되었습니다. 이 필드는 새로 정의된 CardPromotion 객체를 참조하며, NHN KCP를 통한 카드사 다이렉트 호출 시 카드사 할인 쿠폰을 적용할 수 있도록 합니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@sonarqubecloud
Copy link

Copy link
Member

@CirnoV CirnoV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK 스키마 잘 작성된 것 같습니다!

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 PR은 CardPromotion 엔티티를 추가하고 이를 카드 결제 요청 흐름에 통합하는 변경 사항을 담고 있습니다. 이를 통해 우선 KCP 채널에서 카드 프로모션을 적용할 수 있게 됩니다. 전반적으로 스키마 변경 사항은 기존 구조와 일관성 있게 잘 구성되었습니다. 다만, discountAmount 필드의 명확성을 높이기 위해 다른 금액 필드처럼 단위를 명시하는 것을 제안하는 리뷰 의견을 하나 남겼습니다.

Comment on lines +233 to +236
description: |
**할인 금액**
프로모션으로 할인받을 금액입니다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

할인 금액의 단위에 대한 설명이 부족하여 혼동을 줄 수 있습니다. totalAmount와 같이 통화의 최소 단위를 기준으로 한다는 점을 명시하여 명확성을 높이는 것이 좋겠습니다. 예를 들어, KRW는 1배, USD는 100배로 계산되는 방식에 대한 설명 추가를 제안합니다.

          description: |
            **할인 금액**

            프로모션으로 할인받을 금액입니다.
            결제 통화(`currency`)의 최소 단위를 기준으로 한 정수 값입니다.
            예를 들어, KRW는 1배, USD는 100배하여 소수점 없는 정수로 표현합니다.

@SonnySon17 SonnySon17 merged commit 226f6e0 into main Dec 18, 2025
5 checks passed
@SonnySon17 SonnySon17 deleted the feature/card-promotion branch December 18, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants