"""Subaccount Class.""" from typing import Any class Subaccount: """Subaccount Class.""" def __init__( self, country_id: int, description: str, subaccount_id: int, name: str, vendor_id: int, ) -> None: """Init Subaccount Class.""" self.country_id = country_id self.description = description self.subaccount_id = subaccount_id self.name = name self.vendor_id = vendor_id def to_dict(self) -> dict[str, Any]: """Create a dict representation of Subaccount.""" return { "country_id": self.country_id, "description": self.description, "id": self.subaccount_id, "name": self.name, "vendor_id": self.vendor_id, }