From 71912ef0bec27b5f5dd929a6b6ba255d070b0f5a Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Mon, 6 May 2024 10:53:17 -0700 Subject: [PATCH] Add in common PaymentToken dataclass. (#354) --- .../src/sbc_common_components/utils/dataclasses.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 python/src/sbc_common_components/utils/dataclasses.py diff --git a/python/src/sbc_common_components/utils/dataclasses.py b/python/src/sbc_common_components/utils/dataclasses.py new file mode 100644 index 0000000..fc339d6 --- /dev/null +++ b/python/src/sbc_common_components/utils/dataclasses.py @@ -0,0 +1,12 @@ +from dataclasses import asdict, dataclass +from typing import Optional + + +@dataclass +class PaymentToken: + """Payment Token payload common interface for LEAR and Names.""" + + id: Optional[str] = None + status_code: Optional[str] = None + filing_identifier: Optional[str] = None + corp_type_code: Optional[str] = None