django-orchestra-test/orchestra/apps/payments/methods.py

16 lines
318 B
Python
Raw Normal View History

2014-07-23 16:24:56 +00:00
from django.utils.translation import ugettext_lazy as _
from orchestra.utils import plugins
class PaymentMethod(plugins.Plugin):
__metaclass__ = plugins.PluginMount
class BankTransfer(PaymentMethod):
verbose_name = _("Bank transfer")
class CreditCard(PaymentMethod):
verbose_name = _("Credit card")