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.PaymentResponse
createGatewayCustomer
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) com.broadleafcommerce.paymentgateway.domain.PaymentResponse
deleteGatewayCustomer
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) protected void
fillResponse
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse, @NonNull com.stripe.model.Customer customer) com.broadleafcommerce.paymentgateway.domain.PaymentResponse
updateGatewayCustomer
(@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:
createGatewayCustomer
in 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:
updateGatewayCustomer
in 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:
deleteGatewayCustomer
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayCustomerService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-