misc: add transaction_date to PaymentResponse (#41320)
This commit is contained in:
parent
ff245940ec
commit
5be09fdfe1
|
@ -94,7 +94,7 @@ class PaymentResponse(object):
|
|||
|
||||
def __init__(self, result=None, signed=None, bank_data=dict(),
|
||||
return_content=None, bank_status='', transaction_id='',
|
||||
order_id='', test=False):
|
||||
order_id='', test=False, transaction_date=None):
|
||||
self.result = result
|
||||
self.signed = signed
|
||||
self.bank_data = bank_data
|
||||
|
@ -103,6 +103,7 @@ class PaymentResponse(object):
|
|||
self.transaction_id = transaction_id
|
||||
self.order_id = order_id
|
||||
self.test = test
|
||||
self.transaction_date = transaction_date
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s %s>' % (self.__class__.__name__, repr(self.__dict__))
|
||||
|
|
Loading…
Reference in New Issue