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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.paymentgateway.domain.PaymentResponsecreateGatewayCustomer(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) com.broadleafcommerce.paymentgateway.domain.PaymentResponsedeleteGatewayCustomer(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) protected voidfillResponse(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse, @NonNull com.stripe.model.Customer customer) com.broadleafcommerce.paymentgateway.domain.PaymentResponseupdateGatewayCustomer(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest)
-
Constructor Details
-
DefaultStripeCustomerService
-
-
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:
createGatewayCustomerin interfacecom.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:
updateGatewayCustomerin interfacecom.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:
deleteGatewayCustomerin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
getGatewayType
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-