Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method

Return

Parameters

Description

setMock

void

ODataRequestMock mockRequest

createElavonRequest

ODataRequest

String endpoint, Boolean insertMessages, Boolean hasMultipleRequests

buildAndAddApplication

Map<Boolean,String>

Id applicationId, TestingParameters testingParameters, Boolean insertMessages

getOfferPackages

GetOfferPackagesResponse

Id applicationId, String mcc, Boolean isPartOfMultipleRequests, Boolean insertMessages

getEquipmentOffer

GetEquipmentOfferResponse

String equipmentOfferingRef, Boolean isPartOfMultipleRequests, Boolean insertMessages

getAcquiringOffer

GetAcquiringOfferResponse

String transactionPricingRef, Boolean isPartOfMultipleRequests, Boolean insertMessages

addApplication

AddApplicationResponse

Application__c application, Merchant_Account__c merchantAccount, Account mainAccount, Contact mainContact, GetEquipmentOfferResponse equipmentOffer, GetAcquiringOfferResponse acquiringOffer, String packageRef, TestingParameters testingParameters, Boolean isPartOfMultipleRequests, Boolean insertMessages

uploadDocument

UploadDocumentResponse

Id applicationId, String applicationReference, Boolean isPartOfMultipleRequests, Boolean insertMessages, String entityId, DocumentParameters params

submitDocuments

Map<Boolean,String>

Id applicationId, String applicationReference, Boolean isPartOfMultipleRequests, String ownerRef, DocumentParameters params, Boolean insertMessages

submitApplication

SubmitApplicationResponse

Id merchantAccountId, String applicationReference, Boolean isPartOfMultipleRequests, Boolean insertMessages

submitApplicationMap

Map<Boolean,List<String>>

Id applicationId, String applicationReference, Boolean isPartOfMultipleRequests, Boolean insertMessages

applicationStatusCheck

ApplicationStatusCheckResponse

Id applicationId, String applicationReference, Boolean getSignerDetails, Boolean getApplicationDocuments, Boolean isPartOfMultipleRequests

applicationStatusCheck

Map<String,List<String>>

Id applicationId, String applicationReference, Boolean isPartOfMultipleRequests

ElavonIntegrationTest.apxc

Method

Description

setupData

testAddApplication_ReturnCode200

testAddApplication_ReturnCode400

testAddApplication_PackageRef_BLINK_40672

testAddApplication_PackageRef_TERMINAL_40672

testSubmitApplication_ReturnCode200

testSubmitApplication_ReturnCode400

testApplicationStatusCheck_ReturnCode200

testApplicationStatusCheck_ReturnCode400

testUploadDocument_ReturnCode200

testUploadDocument_ReturnCode200_WithMultipleFiles

testUploadDocument_ReturnCode400

testGetOfferPackages_ReturnCode200

testGetOfferPackages_ReturnCode400

testGetEquipmentOffer_ReturnCode200

testGetEquipmentOffer_ReturnCode400

testGetAcquiringOffer_ReturnCode200

testGetAcquiringOffer_ReturnCode400

Flow_BuildAndAddApplication.apxc

Flow_BuildAndAddApplicationTest.apxc

Flow_SubmitDocuments.apxc

Flow_SubmitDocumentsTest.apxc

Flow_SubmitApplication.apxc

Flow_SubmitApplicationTest.apxc

Flow_CheckStatusApplication.apxc

Flow_CheckStatusApplicationTest.apxc