Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-28 17:22:38 -08:00
parent 243ed3222a
commit d9d73522fd
72 changed files with 960 additions and 534 deletions

View File

@ -56,6 +56,7 @@ class Invoice:
created_at: Union[Unset, str] = UNSET
if not isinstance(self.created_at, Unset):
created_at = self.created_at.isoformat()
currency: Union[Unset, Currency] = UNSET
if not isinstance(self.currency, Unset):
currency = self.currency
customer_email = self.customer_email
@ -80,6 +81,7 @@ class Invoice:
pdf = self.pdf
receipt_number = self.receipt_number
statement_descriptor = self.statement_descriptor
status: Union[Unset, InvoiceStatus] = UNSET
if not isinstance(self.status, Unset):
status = self.status
subtotal = self.subtotal