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 Summary
ConstructorsConstructorDescriptionDefaultPayPalCheckoutHostedService
(PayPalGatewayConfiguration configuration, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected PayPalGatewayConfiguration
protected com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService
com.broadleafcommerce.paymentgateway.domain.PaymentResponse
requestHostedEndpoint
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest, boolean capture)
-
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 interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayHostedService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getConfiguration
-
getTransactionService
protected com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService getTransactionService()
-