25 lines
627 B
Python
25 lines
627 B
Python
from invoice_ninja.endpoints.clients import Clients
|
|
|
|
class InvoiceNinja(object):
|
|
def __init__(self, endpoint_url: str = 'https://invoicing.co',
|
|
api_token: str = str()):
|
|
self._endpoint_url = endpoint_url
|
|
self._api_token = api_token
|
|
|
|
@property
|
|
def endpoint_url(self):
|
|
return self._endpoint_url
|
|
|
|
@endpoint_url.setter
|
|
def endpoint_url(self, endpoint_url: str):
|
|
self._endpoint_url = endpoint_url
|
|
|
|
@property
|
|
def api_token(self):
|
|
return self._api_token
|
|
|
|
@api_token.setter
|
|
def api_token(self, api_token: str):
|
|
self._api_token = api_token
|
|
|