feat(release): initial release
This commit is contained in:
14
tests/mocks/providers/stripe.ts
Normal file
14
tests/mocks/providers/stripe.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { type Currency, type Payment, Payments } from "../services/payments.ts";
|
||||
|
||||
export class Stripe extends Payments {
|
||||
public async create(customerId: string, currency: Currency, amount: number): Promise<Payment> {
|
||||
return {
|
||||
paymentId: "xyz",
|
||||
customerId,
|
||||
provider: "stripe",
|
||||
status: "created",
|
||||
currency,
|
||||
amount,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user