mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
First steps into a payment provider API
This commit is contained in:
10
src/pretix/base/payment.py
Normal file
10
src/pretix/base/payment.py
Normal file
@@ -0,0 +1,10 @@
|
||||
class BasePaymentProvider:
|
||||
"""
|
||||
This is the base class for all payment providers.
|
||||
"""
|
||||
|
||||
def get_identifier(self) -> str:
|
||||
"""
|
||||
Return a unique identifier for this payment provider
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
Reference in New Issue
Block a user