- 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
CustomerGroup
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | ||
| description | str | [optional] [default to 'null'] | |
| number | str | Can be chosen freely | |
| display_name | str | [optional] [readonly] | |
| id | int | [optional] [readonly] |
Example
from easybill_generated_sync.models.customer_group import CustomerGroup
# TODO update the JSON string below
json = "{}"
# create an instance of CustomerGroup from a JSON string
customer_group_instance = CustomerGroup.from_json(json)
# print the JSON string representation of the object
print(CustomerGroup.to_json())
# convert the object into a dict
customer_group_dict = customer_group_instance.to_dict()
# create an instance of CustomerGroup from a dict
customer_group_from_dict = CustomerGroup.from_dict(customer_group_dict)