123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- import logging
- from typing import TYPE_CHECKING
- from apps.web.core.payment import PaymentGateway
- if TYPE_CHECKING:
- pass
- logger = logging.getLogger(__name__)
- class PlatformPromotionPaymentGateway(PaymentGateway):
- def __init__(self, app, gateway_type):
- super(PlatformPromotionPaymentGateway, self).__init__(app)
- self.__gateway_type__ = gateway_type
- def __repr__(self):
- return '<PlatformPromotionPaymentGateway(occupantId = %s)>' % (
- str(self.occupantId))
- class PlatformReconcilePaymentGateway(PaymentGateway):
- def __init__(self, app, gateway_type):
- super(PlatformReconcilePaymentGateway, self).__init__(app)
- self.__gateway_type__ = gateway_type
- def __repr__(self):
- return '<PlatformReconcilePaymentGateway(occupantId = %s)>' % (
- str(self.occupantId))
- class PlatformWalletPaymentGateway(PaymentGateway):
- def __init__(self, app, gateway_type):
- super(PlatformWalletPaymentGateway, self).__init__(app)
- self.__gateway_type__ = gateway_type
- def __repr__(self):
- return '<PlatformWalletPaymentGateway(occupantId = %s)>' % (
- str(self.occupantId))
|