Sync Adapter to Java 25: add StripePaymentClassAdapter, README mapping
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
package adapter;
|
||||
|
||||
/**
|
||||
* The Target interface — what YOUR application's code expects.
|
||||
* Every payment gateway in your system must implement this.
|
||||
* Written to handle modern async-style payment flows.
|
||||
*/
|
||||
public interface PaymentGateway {
|
||||
boolean charge(String customerId, double amount, String currency);
|
||||
|
||||
Reference in New Issue
Block a user