Projet

Général

Profil

0001-misc-add-transaction_date-to-PaymentResponse-41320.patch

Benjamin Dauvergne, 04 avril 2020 13:05

Télécharger (1,15 ko)

Voir les différences:

Subject: [PATCH 1/7] misc: add transaction_date to PaymentResponse (#41320)

 eopayment/common.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
eopayment/common.py
94 94

  
95 95
    def __init__(self, result=None, signed=None, bank_data=dict(),
96 96
                 return_content=None, bank_status='', transaction_id='',
97
                 order_id='', test=False):
97
                 order_id='', test=False, transaction_date=None):
98 98
        self.result = result
99 99
        self.signed = signed
100 100
        self.bank_data = bank_data
......
103 103
        self.transaction_id = transaction_id
104 104
        self.order_id = order_id
105 105
        self.test = test
106
        self.transaction_date = transaction_date
106 107

  
107 108
    def __repr__(self):
108 109
        return '<%s %s>' % (self.__class__.__name__, repr(self.__dict__))
109
-