<reponame>MariaBraganca/chartmogul-python<gh_stars>1-10
from ..api.transaction import Transaction as TransactionNew
from warnings import warn


class Transaction(TransactionNew):
    @classmethod
    def create(cls, *args, **kwargs):
        warn("chartmogul.imp namespace is deprecated, use chartmogul.Transaction.create!")
        return super(Transaction, cls).create(*args, **kwargs)

from ..api.transaction import Transaction as TransactionNew
from warnings import warn


class Transaction(TransactionNew):
    @classmethod
    def create(cls, *args, **kwargs):
        warn("chartmogul.imp namespace is deprecated, use chartmogul.Transaction.create!")
        return super(Transaction, cls).create(*args, **kwargs)