forked from andela-sjames/paystack-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaystack.py
More file actions
21 lines (17 loc) · 724 Bytes
/
paystack.py
File metadata and controls
21 lines (17 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""Entry point defined here."""
from paystackapi.customer import Customer
from paystackapi.plan import Plan
from paystackapi.subscription import Subscription
from paystackapi.transaction import Transaction
from paystackapi.verification import Verification
from paystackapi.base import PayStackBase
class Paystack(PayStackBase):
"""Base class defined for PayStack Instance Method."""
def __init__(self, secret_key=None):
"""Instantiate Basic Classes to call here."""
PayStackBase.__init__(self, secret_key=secret_key)
self.customer = Customer
self.plan = Plan
self.subscription = Subscription
self.transaction = Transaction
self.verification = Verification