Skip to content

Commit 74f010e

Browse files
authored
Merge pull request AuthorizeNet#142 from snavinch/master
+ Correcting response class
2 parents 7c19da9 + 87196c4 commit 74f010e

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy