Esempio n. 1
0
        public static request.Services.PaymentAccountCreate sampleServicesPaymentAccountCreate()
        {
            request.Services.PaymentAccountCreate paymentAccountCreateRequest = new request.Services.PaymentAccountCreate();

            Credentials credentials = new Credentials();

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

            Reports reports = new Reports();

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

            Card card = new Card();

            card.AccountNumber = "5454545454545454";
            paymentAccountCreateRequest.Card = card;

            Application application = new Application();

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

            return(paymentAccountCreateRequest);
        }
Esempio n. 2
0
        public static string samplePaymentAccountCreate()
        {
            request.Services.PaymentAccountCreate paymentAccountCreate = SampleRequests.sampleServicesPaymentAccountCreate();
            string response = paymentAccountCreate.send();

            return(response);
        }