Files
api/services/nginx/app/interfaces/stripe_i.php
T
Jepp9350 410ca84bf1 Add Stripe integration for customers, payments, and products
This commit introduces a comprehensive Stripe module with support for managing customers, products, prices, and payment links. It also includes endpoint routes, helpers, and database updates to support Stripe operations, such as creating and retrieving entities or handling payment workflows. Additionally, a stripe module was integrated into existing routes and objects to enable seamless interaction with Stripe APIs.
2025-02-18 18:31:23 +01:00

32 lines
595 B
PHP

<?php
namespace interfaces;
use Stripe\StripeClient;
interface stripe_i
{
/**
* Require the module to be enabled
* @returns void
*/
public function requireModuleEnabled(): void;
/**
* Require the secret key to be set
* @returns void
*/
public function requireValidSecretKey(): void;
/**
* Require the publishable key to be set
* @returns void
*/
public function requireValidPublishableKey(): void;
/**
* Get the Stripe client
* @returns StripeClient
*/
public function getClient(): StripeClient;
}