"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from .basesdk import BaseSDK
from .sdkconfiguration import SDKConfiguration
from panora_sdk.customers import Customers
from panora_sdk.fulfillments import Fulfillments
from panora_sdk.orders import Orders
from panora_sdk.products import Products


class Ecommerce(BaseSDK):
    products: Products
    orders: Orders
    customers: Customers
    fulfillments: Fulfillments

    def __init__(self, sdk_config: SDKConfiguration) -> None:
        BaseSDK.__init__(self, sdk_config)
        self.sdk_configuration = sdk_config
        self._init_sdks()

    def _init_sdks(self):
        self.products = Products(self.sdk_configuration)
        self.orders = Orders(self.sdk_configuration)
        self.customers = Customers(self.sdk_configuration)
        self.fulfillments = Fulfillments(self.sdk_configuration)
