Class DefaultPayPalCheckoutHostedService

  • All Implemented Interfaces:
    com.broadleafcommerce.paymentgateway.service.PaymentGatewayHostedService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware, PayPalCheckoutHostedService

    public class DefaultPayPalCheckoutHostedService
    extends Object
    implements PayPalCheckoutHostedService
    Author:
    Nathan Moore
    • Constructor Detail

      • DefaultPayPalCheckoutHostedService

        public DefaultPayPalCheckoutHostedService​(PayPalGatewayConfiguration configuration,
                                                  com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService)
    • Method Detail

      • requestHostedEndpoint

        public com.broadleafcommerce.paymentgateway.domain.PaymentResponse requestHostedEndpoint​(@NonNull
                                                                                                 @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest,
                                                                                                 boolean capture)
                                                                                          throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException
        Specified by:
        requestHostedEndpoint in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayHostedService
        Throws:
        com.broadleafcommerce.paymentgateway.service.exception.PaymentException
      • getGatewayType

        public String getGatewayType()
        Specified by:
        getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
      • getTransactionService

        protected com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService getTransactionService()