- 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.
3.1 KiB
3.1 KiB
SEPAPayment
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| amount | int | Amount in cents (e.g. "150" = 1.50€) | |
| created_at | datetime | [optional] [readonly] | |
| creditor_bic | str | If type is DEBIT, this field is overwritten with the selected bank account data on export. | [optional] [default to 'null'] |
| creditor_iban | str | Mandatory if type is CREDIT. If type is DEBIT, this field is overwritten with the selected bank account data on export. | [optional] |
| creditor_name | str | Mandatory if type is CREDIT. If type is DEBIT, this field is overwritten with the selected bank account data on export. | [optional] |
| debitor_bic | str | If type is CREDIT, this field is overwritten with the selected bank account data on export. | [optional] [default to 'null'] |
| debitor_iban | str | Mandatory if type is DEBIT. If type is CREDIT, this field is overwritten with the selected bank account data on export. | |
| debitor_name | str | Mandatory if type is DEBIT. If type is CREDIT, this field is overwritten with the selected bank account data on export. | |
| debitor_address_line_1 | str | Mandatory if type is DEBIT and the debitor's IBAN belongs to a country outside the EEA | [optional] |
| debitor_address_line2 | str | string | [optional] |
| debitor_country | str | Mandatory if type is DEBIT and the debitor's IBAN belongs to a country outside the EEA | [optional] |
| document_id | int | ||
| export_at | datetime | If a date is set, this record is marked as exported | [optional] |
| export_error | str | [optional] [readonly] | |
| id | int | [optional] [readonly] | |
| local_instrument | str | CORE: SEPA Core Direct Debit<br/> COR1: SEPA-Basislastschrift COR1 (deprecated use CORE instead)<br/> B2B: SEPA Business to Business Direct Debit | |
| mandate_date_of_signature | date | ||
| mandate_id | str | ||
| reference | str | ||
| remittance_information | str | [optional] [default to 'null'] | |
| requested_at | date | Booking date | [optional] |
| sequence_type | str | FRST: Erstlastschrift<br/> RCUR: Folgelastschrift<br/> OOFF: Einmallastschrift<br/> FNAL: Letztmalige Lastschrift | |
| updated_at | str | [optional] [readonly] | |
| type | str | [optional] [default to 'DEBIT'] |
Example
from easybill_generated_sync.models.sepa_payment import SEPAPayment
# TODO update the JSON string below
json = "{}"
# create an instance of SEPAPayment from a JSON string
sepa_payment_instance = SEPAPayment.from_json(json)
# print the JSON string representation of the object
print(SEPAPayment.to_json())
# convert the object into a dict
sepa_payment_dict = sepa_payment_instance.to_dict()
# create an instance of SEPAPayment from a dict
sepa_payment_from_dict = SEPAPayment.from_dict(sepa_payment_dict)