Class DefaultPayPalCheckoutHostedService

java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.service.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 Details

    • DefaultPayPalCheckoutHostedService

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

    • 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
    • getConfiguration

      protected PayPalGatewayConfiguration getConfiguration()
    • getTransactionService

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