예제 #1
0
        public static request.Services.FraudCheck sampleServicesFraudCheck()
        {
            request.Services.FraudCheck fraudCheckRequest = new request.Services.FraudCheck();

            Credentials credentials = new Credentials();

            credentials.AcceptorID        = "1147003";
            fraudCheckRequest.Credentials = credentials;

            Reports reports = new Reports();

            reports.ReportGroup       = "1243";
            fraudCheckRequest.Reports = reports;

            AdvancedFraudChecks advancedFraudChecks = new AdvancedFraudChecks();

            advancedFraudChecks.ThreatMetrixSessionID = "123";
            fraudCheckRequest.AdvancedFraudChecks     = advancedFraudChecks;

            Application application = new Application();

            application.ApplicationID     = "1234";
            fraudCheckRequest.Application = application;

            return(fraudCheckRequest);
        }
예제 #2
0
        public static string sampleFraudCheck()
        {
            request.Services.FraudCheck fraudCheck = SampleRequests.sampleServicesFraudCheck();
            string response = fraudCheck.send();

            return(response);
        }