コード例 #1
0
        public static BPValidationRequest InitialValidationForEp(FeeInfo feeInfo, BillerInfo billerInfo)
        {
            var validationRequest = CreateBaseValidationRequest()
                                    .FromFeeInfo(feeInfo)
                                    .FromBillerInfo(billerInfo);

            return(validationRequest);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        public static BPValidationRequest FromBillerInfo(this BPValidationRequest validationRequest, BillerInfo billerInfo)
        {
            validationRequest.ReceiveCode    = billerInfo.ReceiveCode;
            validationRequest.ReceiveAgentID = billerInfo.ReceiveAgentID;

            return(validationRequest);
        }