- Implement tests for basic and bearer authentication headers in `test_auth.py`. - Create tests for the `EasybillWebhookParser` in `test_webhooks.py`, covering JSON and form-encoded payloads, as well as a generic parse and acknowledgement method.
1.1 KiB
1.1 KiB
DocumentPayments
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The current page | |
| pages | int | Max possible pages | |
| limit | int | Items limitation. Max 1000 | |
| total | int | Total Items | |
| items | List[DocumentPayment] | [optional] |
Example
from easybill_generated_async.models.document_payments import DocumentPayments
# TODO update the JSON string below
json = "{}"
# create an instance of DocumentPayments from a JSON string
document_payments_instance = DocumentPayments.from_json(json)
# print the JSON string representation of the object
print(DocumentPayments.to_json())
# convert the object into a dict
document_payments_dict = document_payments_instance.to_dict()
# create an instance of DocumentPayments from a dict
document_payments_from_dict = DocumentPayments.from_dict(document_payments_dict)