- 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.
38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
# DocumentPayment
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**amount** | **int** | |
|
|
**document_id** | **int** | |
|
|
**id** | **int** | | [optional] [readonly]
|
|
**is_overdue_fee** | **bool** | | [optional]
|
|
**login_id** | **int** | | [optional] [readonly]
|
|
**notice** | **str** | | [optional] [default to '']
|
|
**payment_at** | **date** | | [optional]
|
|
**type** | **str** | | [optional] [default to '']
|
|
**provider** | **str** | | [optional] [default to '']
|
|
**reference** | **str** | | [optional] [default to '']
|
|
|
|
## Example
|
|
|
|
```python
|
|
from easybill_generated_async.models.document_payment import DocumentPayment
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of DocumentPayment from a JSON string
|
|
document_payment_instance = DocumentPayment.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(DocumentPayment.to_json())
|
|
|
|
# convert the object into a dict
|
|
document_payment_dict = document_payment_instance.to_dict()
|
|
# create an instance of DocumentPayment from a dict
|
|
document_payment_from_dict = DocumentPayment.from_dict(document_payment_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|