Class PayPalWebProfileServiceImpl
java.lang.Object
org.broadleafcommerce.vendor.paypal.service.PayPalWebProfileServiceImpl
- All Implemented Interfaces:
PayPalWebProfileService
@Service("blPayPalWebProfileService")
public class PayPalWebProfileServiceImpl
extends Object
implements PayPalWebProfileService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ExternalCallPayPalCheckoutServiceprotected com.paypal.api.payments.WebProfile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.paypal.api.payments.WebProfilecreateWebProfile(com.paypal.api.payments.WebProfile profile, org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) protected StringgetBeanWebProfileId(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) protected StringgetWebProfileId(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) Retrieves the id of the WebProfile to be used when creating a PayPal payment
-
Field Details
-
webProfile
protected com.paypal.api.payments.WebProfile webProfile -
beanProfileId
-
externalCallService
-
-
Constructor Details
-
PayPalWebProfileServiceImpl
@Autowired(required=false) public PayPalWebProfileServiceImpl(com.paypal.api.payments.WebProfile webProfile) -
PayPalWebProfileServiceImpl
public PayPalWebProfileServiceImpl()
-
-
Method Details
-
getWebProfileId
public String getWebProfileId(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) Description copied from interface:PayPalWebProfileServiceRetrieves the id of the WebProfile to be used when creating a PayPal payment- Specified by:
getWebProfileIdin interfacePayPalWebProfileService- Returns:
-
getBeanWebProfileId
protected String getBeanWebProfileId(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) -
createWebProfile
protected com.paypal.api.payments.WebProfile createWebProfile(com.paypal.api.payments.WebProfile profile, org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequestDTO) -
getPropertyWebProfileId
-