Skip to content

Commit 87196c4

Browse files
committed
+ Correcting response class
1 parent bc30a3e commit 87196c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

authorizenet/apicontrollers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def getrequesttype(self):
706706

707707
def getresponseclass(self):
708708
''' Returns the response class '''
709-
return apicontractsv1.getTransactionListForCustomerResponse()
709+
return apicontractsv1.getTransactionListResponse()
710710
class getUnsettledTransactionListController(apicontrollersbase.APIOperationBase):
711711

712712
def __init__(self, apirequest):

script/generatecontrollersfromtemplate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ done
5555

5656
cat ${SRCDIR}/script/headertemplate.pyt ${SRCDIR}/${CONTROLLERFOLDER}/*.py > ${SRCDIR}/authorizenet/apicontrollers.new
5757

58+
sed -i 's/getTransactionListForCustomerResponse/getTransactionListResponse/g' ${SRCDIR}/authorizenet/apicontrollers.new
59+
5860
echo Controllers generated in module: ${SRCDIR}/authorizenet/apicontrollers.py
5961

6062
echo Finished ${dt}

0 commit comments

Comments
 (0)