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
Constructors Constructor Description DefaultPayPalCheckoutHostedService(PayPalGatewayConfiguration configuration, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PayPalGatewayConfiguration
getConfiguration()
String
getGatewayType()
protected com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService
getTransactionService()
com.broadleafcommerce.paymentgateway.domain.PaymentResponse
requestHostedEndpoint(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest, boolean capture)
-
-
-
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 interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayHostedService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
getGatewayType
public String getGatewayType()
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getConfiguration
protected PayPalGatewayConfiguration getConfiguration()
-
getTransactionService
protected com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService getTransactionService()
-
-