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 LexOfficeService
lexOfficeService
private com.fasterxml.jackson.databind.ObjectMapper
mapper
private OrderRepository
orderRepository
private OrderService
orderService
private ProfileRepository
profileRepository
private SellerRegistrationService
sellerRegistrationService
private SellerRepository
sellerRepository
private WebSocketService
webSocketService
-
Constructor Summary
Constructors Constructor Description StripeHandlerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
handleCustomerDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)
java.lang.Object
handleLexofficeContactChanged(io.rocketbase.lexoffice.model.WebhookCallback payload, javax.servlet.http.HttpSession httpSession)
java.lang.Object
handlePaymentIntentCreatedEvent(com.stripe.model.StripeObject stripeObject)
java.lang.Object
handlePaymentIntentFailedEvent(com.stripe.model.StripeObject stripeObject)
java.lang.Object
handlePaymentIntentSucceededEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)
java.lang.Object
handlePayoutPaidEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)
java.lang.Object
handleSubscriptionCanceledEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)
java.lang.Object
handleSubscriptionDeletedEvent(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:
handlePayoutPaidEvent
in interfaceStripeHandlerService
-
handlePaymentIntentFailedEvent
public java.lang.Object handlePaymentIntentFailedEvent(com.stripe.model.StripeObject stripeObject)
- Specified by:
handlePaymentIntentFailedEvent
in interfaceStripeHandlerService
-
handlePaymentIntentSucceededEvent
public java.lang.Object handlePaymentIntentSucceededEvent(com.stripe.model.StripeObject stripeObject, javax.servlet.http.HttpSession httpSession)
- Specified by:
handlePaymentIntentSucceededEvent
in interfaceStripeHandlerService
-
handlePaymentIntentCreatedEvent
public java.lang.Object handlePaymentIntentCreatedEvent(com.stripe.model.StripeObject stripeObject)
- Specified by:
handlePaymentIntentCreatedEvent
in interfaceStripeHandlerService
-
handleSubscriptionCanceledEvent
public java.lang.Object handleSubscriptionCanceledEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject) throws com.stripe.exception.StripeException
- Specified by:
handleSubscriptionCanceledEvent
in interfaceStripeHandlerService
- Throws:
com.stripe.exception.StripeException
-
handleSubscriptionDeletedEvent
public java.lang.Object handleSubscriptionDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)
- Specified by:
handleSubscriptionDeletedEvent
in interfaceStripeHandlerService
-
handleCustomerDeletedEvent
public java.lang.Object handleCustomerDeletedEvent(com.stripe.model.Event event, com.stripe.model.StripeObject stripeObject)
- Specified by:
handleCustomerDeletedEvent
in interfaceStripeHandlerService
-
handleLexofficeContactChanged
public java.lang.Object handleLexofficeContactChanged(io.rocketbase.lexoffice.model.WebhookCallback payload, javax.servlet.http.HttpSession httpSession)
- Specified by:
handleLexofficeContactChanged
in interfaceStripeHandlerService
-
-