Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支払方法のプラグイン化 #6

Open
2 tasks
automatic9045 opened this issue Mar 30, 2021 · 0 comments
Open
2 tasks

支払方法のプラグイン化 #6

automatic9045 opened this issue Mar 30, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@automatic9045
Copy link
Owner

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

修正・追加する必要があるもの

  • IPaymentPluginインターフェイスの作成
    • IPluginを継承する
  • 支払処理の中核となるクラスのためのIPaymentインターフェイスの作成
    • 支払発生毎にインスタンスを作成する
      • static Createメソッドなど?
    • IPaymentPluginは支払方法の名称(PaymentNameプロパティ(仮称))とIPaymentのインスタンスを作成するCreatePaymentメソッド(仮称)のみを提供し、支払処理には関わらない
@automatic9045 automatic9045 added enhancement New feature or request help wanted Extra attention is needed labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant