consume.py 395 B

123456789101112
  1. # coding=utf-8
  2. from apps.web.core.payment import PaymentGateway
  3. class LedgerConsumePaymentGateway(PaymentGateway):
  4. def __init__(self, app, gateway_type):
  5. super(LedgerConsumePaymentGateway, self).__init__(app)
  6. self.__gateway_type__ = gateway_type
  7. def __repr__(self):
  8. return '<PlatformWalletPaymentGateway(occupantId = %s)>' % (
  9. str(self.occupantId))