示例#1
0
 def enum_types(self, order=None, customer=None):
     for typ, name in get_backend_choices():
         yield self, PaymentType(typ=typ, name=name)
示例#2
0
 def enum_types(self, order=None, customer=None):
     return get_backend_choices()
示例#3
0
 def enum_types(self, order=None, customer=None):
     for typ, name in get_backend_choices():
         yield self, PaymentType(typ=typ, name=name)
示例#4
0
 def enum_types(self, order=None, customer=None):
     return get_backend_choices()