mirror of
https://github.com/pretix/pretix.git
synced 2026-08-18 12:06:26 +00:00
First steps into a payment provider API
This commit is contained in:
@@ -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