Skip to content

Commit 2292b09

Browse files
committed
Updated contract and controller
1 parent 83f9d0b commit 2292b09

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

authorizenet/apicontractsv1.py

-2
Original file line numberDiff line numberDiff line change
@@ -15643,8 +15643,6 @@ class profileTransCaptureOnlyType (profileTransOrderType):
1564315643
updateMerchantDetailsResponse = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'updateMerchantDetailsResponse'), CTD_ANON_109, location=pyxb.utils.utility.Location('https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd', 5084, 2))
1564415644
Namespace.addCategoryObject('elementBinding', updateMerchantDetailsResponse.name().localName(), updateMerchantDetailsResponse)
1564515645

15646-
Namespace.addCategoryObject('elementBinding', getCustomerPaymentProfileNonceRequest.name().localName(), getCustomerPaymentProfileNonceRequest)
15647-
1564815646

1564915647

1565015648
ArrayOfLong._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'long'), pyxb.binding.datatypes.long, scope=ArrayOfLong, location=pyxb.utils.utility.Location('https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd', 28, 6)))

authorizenet/apicontrollers.py

-20
Original file line numberDiff line numberDiff line change
@@ -487,26 +487,6 @@ def getrequesttype(self):
487487
def getresponseclass(self):
488488
''' Returns the response class '''
489489
return apicontractsv1.getCustomerPaymentProfileListResponse()
490-
class getCustomerPaymentProfileNonceController(apicontrollersbase.APIOperationBase):
491-
492-
def __init__(self, apirequest):
493-
super(getCustomerPaymentProfileNonceController, self).__init__(apirequest)
494-
return
495-
496-
def validaterequest(self):
497-
anetLogger.debug('performing custom validation..')
498-
#validate required fields
499-
#if (self._request.xyz == "null"):
500-
# raise ValueError('xyz is required')
501-
return
502-
503-
def getrequesttype(self):
504-
'''Returns request type'''
505-
return 'getCustomerPaymentProfileNonceRequest'
506-
507-
def getresponseclass(self):
508-
''' Returns the response class '''
509-
return apicontractsv1.getCustomerPaymentProfileNonceResponse()
510490
class getCustomerProfileController(apicontrollersbase.APIOperationBase):
511491

512492
def __init__(self, apirequest):

0 commit comments

Comments
 (0)