Class StripeHandlerServiceImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.stripe.StripeHandlerServiceImpl
-
- All Implemented Interfaces:
StripeHandlerService
@Service public class StripeHandlerServiceImpl extends java.lang.Object implements StripeHandlerService
-
-
Field Summary
Fields Modifier and Type Field Description private LexOfficeServicelexOfficeServiceprivate com.fasterxml.jackson.databind.ObjectMappermapperprivate OrderRepositoryorderRepositoryprivate OrderServiceorderServiceprivate ProfileRepositoryprofileRepositoryprivate SellerRegistrationServicesellerRegistrationServiceprivate SellerRepositorysellerRepositoryprivate WebSocketServicewebSocketService
-
Constructor Summary
Constructors Constructor Description StripeHandlerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjecthandleCustomerDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)java.lang.ObjecthandleLexofficeContactChanged(io.rocketbase.lexoffice.model.WebhookCallback payload, javax.servlet.http.HttpSession httpSession)java.lang.ObjecthandlePaymentIntentCreatedEvent(com.stripe.model.StripeObject stripeObject)java.lang.ObjecthandlePaymentIntentFailedEvent(com.stripe.model.StripeObject stripeObject)java.lang.ObjecthandlePaymentIntentSucceededEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)java.lang.ObjecthandlePayoutPaidEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)java.lang.ObjecthandleSubscriptionCanceledEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)java.lang.ObjecthandleSubscriptionDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)
-
-
-
Field Detail
-
sellerRegistrationService
@Autowired private SellerRegistrationService sellerRegistrationService
-
sellerRepository
@Autowired private SellerRepository sellerRepository
-
orderRepository
@Autowired private OrderRepository orderRepository
-
profileRepository
@Autowired private ProfileRepository profileRepository
-
webSocketService
@Autowired private WebSocketService webSocketService
-
lexOfficeService
@Autowired private LexOfficeService lexOfficeService
-
orderService
@Autowired private OrderService orderService
-
mapper
private final com.fasterxml.jackson.databind.ObjectMapper mapper
-
-
Method Detail
-
handlePayoutPaidEvent
public java.lang.Object handlePayoutPaidEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)- Specified by:
handlePayoutPaidEventin interfaceStripeHandlerService
-
handlePaymentIntentFailedEvent
public java.lang.Object handlePaymentIntentFailedEvent(com.stripe.model.StripeObject stripeObject)
- Specified by:
handlePaymentIntentFailedEventin interfaceStripeHandlerService
-
handlePaymentIntentSucceededEvent
public java.lang.Object handlePaymentIntentSucceededEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)- Specified by:
handlePaymentIntentSucceededEventin interfaceStripeHandlerService
-
handlePaymentIntentCreatedEvent
public java.lang.Object handlePaymentIntentCreatedEvent(com.stripe.model.StripeObject stripeObject)
- Specified by:
handlePaymentIntentCreatedEventin interfaceStripeHandlerService
-
handleSubscriptionCanceledEvent
public java.lang.Object handleSubscriptionCanceledEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject) throws com.stripe.exception.StripeException- Specified by:
handleSubscriptionCanceledEventin interfaceStripeHandlerService- Throws:
com.stripe.exception.StripeException
-
handleSubscriptionDeletedEvent
public java.lang.Object handleSubscriptionDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)- Specified by:
handleSubscriptionDeletedEventin interfaceStripeHandlerService
-
handleCustomerDeletedEvent
public java.lang.Object handleCustomerDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)- Specified by:
handleCustomerDeletedEventin interfaceStripeHandlerService
-
handleLexofficeContactChanged
public java.lang.Object handleLexofficeContactChanged(io.rocketbase.lexoffice.model.WebhookCallback payload, javax.servlet.http.HttpSession httpSession)- Specified by:
handleLexofficeContactChangedin interfaceStripeHandlerService
-
-