# generated by datamodel-codegen:
#   filename:  order-events.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from dataclasses import dataclass
from typing import TypeAlias


@dataclass
class Money:
    amount: float
    currency: str


@dataclass
class OrderCreatedOrderCreatedHeaders:
    correlationId: str | None = None


@dataclass
class Order:
    id: str
    total: Money
    note: str | None = None
    legacyName: str | None = None


@dataclass
class OrderCreatedPayload:
    order: Order


OrderCreatedOrderCreatedPayload: TypeAlias = OrderCreatedPayload
