automatic9045 / automatic9045/TRS.MS-12

支払方法のプラグイン化

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C#
Stars
28
Forks
0
PR merge metrics
No merged PRs in 30d

Description

現金・クレジットカードにとどまらず、QRコード決済など幅広い支払方法に対応させるため、支払いまわりの処理を独立したプラグイン(支払プラグイン(仮称))とする。

## 修正・追加する必要があるもの
- [ ] IPaymentPluginインターフェイスの作成
- IPluginを継承する
- [ ] 支払処理の中核となるクラスのためのIPaymentインターフェイスの作成
- 支払発生毎にインスタンスを作成する
- static Createメソッドなど?
- IPaymentPluginは支払方法の名称(PaymentNameプロパティ(仮称))とIPaymentのインスタンスを作成するCreatePaymentメソッド(仮称)のみを提供し、支払処理には関わらない

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing IPlugin interface and the current cash and credit-card payment processing. Define the boundaries of IPaymentPlugin and IPayment from the issue, then verify that payment methods can expose a name and create per-payment IPayment instances without handling payment processing themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
payments
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.