Skip to content
Snippets Groups Projects

OM46, del 1: Support batch_complete endpoint from setra

Merged Petr.Kalashnikov requested to merge om46 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -32,7+32,7 @@
class Transaction(BaseModel):
id: Optional[str]
voucher_id: Optional[str]
created: Optional[datetime.datetime]
@@ -70,7+70,7 @@
class Batch(BaseModel):
"""Model representing a batch, with a list of vouchers (and each voucher has a list of transactions)"""
client: str
created: Optional[datetime.datetime]
batchid: str
period: str
interface: str
client: Optional[str]
vouchertype: typing.Optional[str]
vouchers: typing.List[Voucher]
batch_validated_ok_date: Optional[datetime.datetime]
Loading