Class DefaultStripeCustomerService

java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultStripeCustomerService
All Implemented Interfaces:
StripeCustomerService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultStripeCustomerService extends Object implements StripeCustomerService
  • Constructor Details

  • Method Details

    • createGatewayCustomer

      public com.broadleafcommerce.paymentgateway.domain.PaymentResponse createGatewayCustomer(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException
      Specified by:
      createGatewayCustomer in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService
      Throws:
      com.broadleafcommerce.paymentgateway.service.exception.PaymentException
    • fillResponse

      protected void fillResponse(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse, @NonNull @NonNull com.stripe.model.Customer customer)
    • updateGatewayCustomer

      public com.broadleafcommerce.paymentgateway.domain.PaymentResponse updateGatewayCustomer(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException
      Specified by:
      updateGatewayCustomer in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService
      Throws:
      com.broadleafcommerce.paymentgateway.service.exception.PaymentException
    • deleteGatewayCustomer

      public com.broadleafcommerce.paymentgateway.domain.PaymentResponse deleteGatewayCustomer(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException
      Specified by:
      deleteGatewayCustomer in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService
      Throws:
      com.broadleafcommerce.paymentgateway.service.exception.PaymentException
    • getGatewayType

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware