Uses of Package
paypal.payflow

  • Classes in paypal.payflow used by paypal.payflow
    Class
    Description
     
    This class holds the advice detail related information.
    This class is used to create and perform an Authorization Transaction.
    Used for BankAcct information.
    Abstract base Class of all response data objects.
    This abstract class serves as base class of all tender objects.
    This class is the base class for all transaction objects.
    Used for Billing Address information
     
    Used for the buyerauth operation
    Used for BuyerAuth Status information.
    This abstract class serves as base class for Buyer auth transactions.
    Used for Check Payment related information.
    This class is used to store the Payflow Client related properties.
    This class contains all error messages generated for the class containing the context.This also contains the highest severity level contained by the context.
    Used for Credit Card related information CreditCard is associated with CardTender.
    This class is used as the currency data type by all data and transaction objects.
    Used for Customer related information.
    Used for the type of device the card holder is using.
    Used for ExpressCheckout DO operation.
    UUsed for ExpressCheckout Do operation.
    Used for ExpressCheckout GET operation.
    Used for ExpressCheckout update operation.
    Used for ExpressCheckout SET operation.
     
    This class contains the error message along with the message code, severity level of the error and the stack trace.
    This class serves as base class of all ExpressCheckout request classes.
    This class serves as base class of all ExpressCheckout response classes.
    /// Used for Extended param information ///
    Used for storing Fraud Protection Services XML response message after parsing them.
    Container class for response messages specific Fraud Protections Services.
    Used as the Purchase Invoice class.
    This class holds the line item related information.
    This is a singleton class which can be used for logging of the messages.
    Used for Merchant related information.
    Used for Payflow Host related information.
    PayPal Pay Later is a new, convenient, and secure service that allows you to offer your customers promotional financing.
    This class holds the PayPal Pay Later Promotional related information.
    Used for PayPal tender related information.
    Used for Purchase card related information PurchaseCard is associated with CardTender.
    Used for recurring transaction related information <p>RecurringInfo contains the required and optional parameters specific to all the recurring transactions.</p> Following examples shows how to use the RecurringInfo. ............................ //Populate other data objects. ............................ RecurringInfo RecurInfo = new RecurringInfo(); // The date that the first payment will be processed. // This will be of the format mmddyyyy. RecurInfo.Start = "01012009"; RecurInfo.ProfileName = "PayPal"; // Specifies how often the payment occurs. All PAYPERIOD values must use // capital letters and can be any of WEEK / BIWK / SMMO / FRWK / MONT / // QTER / SMYR / YEAR RecurInfo.PayPeriod = "WEEK"; // Create a new Recurring Add Transaction. RecurringAddTransaction Trans = new RecurringAddTransaction( User, Connection, Inv, Card, RecurInfo, PayflowUtility.RequestId); // Submit the transaction. Response Resp = Trans.SubmitTransaction(); if (Resp != null) { // Get the Transaction Response parameters. TransactionResponse TrxnResponse = Resp.TransactionResponse; if (TrxnResponse != null) { Console.WriteLine("RESULT = " + TrxnResponse.Result); Console.WriteLine("RESPMSG = " + TrxnResponse.RespMsg); } // Get the Recurring Response parameters. RecurringResponse RecurResponse = Resp.RecurringResponse; if (RecurResponse != null) { Console.WriteLine("RPREF = " + RecurResponse.RPRef); Console.WriteLine("PROFILEID = " + RecurResponse.ProfileId); } } // Get the Context and check for any contained SDK specific errors. Context Ctx = Resp.TransactionContext; if (Ctx != null & Ctx.getErrorCount() > 0) { Console.WriteLine(Environment.NewLine + "Errors = " + Ctx.ToString()); } Console.WriteLine(Environment.NewLine + "Press Enter to Exit ..."); Console.ReadLine(); }
    Container class for all the messages related to recurring transactions.
    This is the base class of all different recurring action transactions. Each derived class of RecurringTransaction specifies a unique action transaction. This class can also be directly used to perform a recurring transaction. Alternatively, a new class can be extended from this to create a specific recurring action transaction. </p> ............... // Populate data objects ............... //Set the Recurring related information. recurringInfo recurInfo = new recurringInfo(); // The date that the first payment will be processed. // This will be of the format mmddyyyy. recurInfo.setStart("01012009"); recurInfo.setProfileName ("PayPal"); // Specifies how often the payment occurs. All PAYPERIOD values must use // capital letters and can be any of WEEK / BIWK / SMMO / FRWK / MONT / // QTER / SMYR / YEAR recurInfo.setPayPeriod ("WEEK"); ////////////////////////////////////////////////// // Create a new Recurring Transaction. RecurringTransaction trans = new RecurringTransaction("A", recurInfo, user, connection, inv, tender, payflowUtility.getRequestId()); // Submit the transaction. Response resp = trans.submitTransaction(); if (resp != null) { // Get the Transaction Response parameters. TransactionResponse trxnResponse = resp.getTransactionResponse(); if (trxnResponse != null) { System.out.println("RESULT = " + trxnResponse.getResult()); System.out.println("RESPMSG = " + trxnResponse.getRespMsg()); } // Get the Recurring Response parameters. RecurringResponse recurResponse = resp.getRecurringResponse(); if (recurResponse != null) { System.out.println("RPREF = " + recurResponse.getRPRef()); System.out.println("PROFILEID = " + recurResponse.getProfileId()); } } // Get the Context and check for any contained SDK specific errors. Context ctx = resp.getTransactionContext(); if (ctx != null & ctx.getErrorCount() > 0) { System.out.println("Errors = " + ctx.ToString()); }
    This class is used as base class for all reference transactions.
    Container class for response messages. This class enclosed response data objects specific to following: <ol> <li>Transaction response -- Response messages common to all transactions.</li> <li>Fraud response -- Fraud Filters response messages.</li> <li>Recurring response -- Recurring transaction response messages.</li> <li>Buyerauth response -- Buyer auth response messages. (Not supported.)</li> </ol> <p>Additionally the Response class also contains the transaction context, full request response string values.</p> {@link FraudResponse} {@link TransactionResponse} {@link RecurringResponse} {@link BuyerAuthResponse} {@link Context} Following example shows, how to obtain response of a transaction and how to use it. .......... // Trans is the transaction object. * ................... // Submit the transaction. Response resp = trans.SubmitTransaction(); * <p> if (resp != null) { // Get the Transaction Response parameters. TransactionResponse trxnResponse = resp.getTransactionResponse(); if (trxnResponse!= null) { System.out.println("RESULT = " + trxnResponse.Result); System.out.println("RESPMSG = " + trxnResponse.RespMsg); } * <p> // Get the Recurring Response parameters. RecurringResponse recurResponse = resp.getRecurringResponse(); if (recurResponse != null) { System.out.println("RPREF = " + recurResponse.getRPRef()); System.out.println("PROFILEID = " + recurResponse.getProfileId()); } } * <p> // Get the Context and check for any contained SDK specific errors. Context ctx = resp.getTransactionContext(); if (ctx != null & ctx.getErrorCount() > 0) { System.out.println( "Errors = " + ctx()); }
    Used for shipping address information
    Used for swipe card information *
    Used for transaction response.
    Used for PayPal User account information This is a required class for a strong assembly transactions.
    This class holds the USER1 to USER10 related information.