Class PaypalConnector


  • public class PaypalConnector
    extends Object
    • Constructor Detail

      • PaypalConnector

        public PaypalConnector​(String baseUrl,
                               String user,
                               String password)
    • Method Detail

      • getPayment

        public com.paypal.api.payments.Payment getPayment()
      • formatDouble

        public static String formatDouble​(double dbl)
      • executePaypalPayment

        public String executePaypalPayment​(String paymentToken,
                                           String payerID)
                                    throws com.paypal.core.rest.PayPalRESTException
        Throws:
        com.paypal.core.rest.PayPalRESTException
      • main

        public static void main​(String[] args)