public static BPValidationRequest InitialValidationForEp(FeeInfo feeInfo, BillerInfo billerInfo) { var validationRequest = CreateBaseValidationRequest() .FromFeeInfo(feeInfo) .FromBillerInfo(billerInfo); return(validationRequest); }
public static BPValidationRequest SubsequentValidationForEp(FeeInfo feeInfo, BillerInfo billerInfo, BPValidationResponse validationResponse, TestBiller biller, string thirdPartyType) { var validationRequest = CreateBaseValidationRequest() .FromFeeInfo(feeInfo) .FromBillerInfo(billerInfo) .FromValidationResponse(validationResponse, biller, thirdPartyType); return(validationRequest); }
public static BPValidationRequest FromBillerInfo(this BPValidationRequest validationRequest, BillerInfo billerInfo) { validationRequest.ReceiveCode = billerInfo.ReceiveCode; validationRequest.ReceiveAgentID = billerInfo.ReceiveAgentID; return(validationRequest); }