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 Details

    • webProfile

      protected com.paypal.api.payments.WebProfile webProfile
    • beanProfileId

      protected String beanProfileId
    • externalCallService

      protected ExternalCallPayPalCheckoutService 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: PayPalWebProfileService
      Retrieves the id of the WebProfile to be used when creating a PayPal payment
      Specified by:
      getWebProfileId in interface PayPalWebProfileService
      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

      protected String getPropertyWebProfileId()