Interface ProfileTransactionService

All Known Implementing Classes:
DefaultProfileTransactionService

public interface ProfileTransactionService
ProfileTransactionService Interface. Communication service to send transactions to Profile
  • Method Details

    • sendSubmitOrderEvent

      void sendSubmitOrderEvent(OrderModel orderModel)
      Sends order to Profile.
      Parameters:
      orderModel - the order model
    • sendConsignmentEvent

      void sendConsignmentEvent(ConsignmentModel consignmentModel)
      Sends consignment to Profile.
      Parameters:
      consignmentModel - the consignment model
    • sendReturnOrderEvent

      void sendReturnOrderEvent(ReturnRequestModel returnRequestModel)
      Sends return order to Profile.
      Parameters:
      returnRequestModel - the return model
    • sendUserRegistrationEvent

      void sendUserRegistrationEvent(UserModel userModel, String consentReferenceId, String sessionId, String storeName)
      Sends user registration event to Profile.
      Parameters:
      userModel - the user model
      consentReferenceId - consent refrence
      sessionId - ec session id
      storeName - storefront name like 'electronics'
    • sendUidChangedEvent

      void sendUidChangedEvent(ChangeUIDEvent event, String consentReferenceId)
      Sends newUid updated event to Profile.
      Parameters:
      event - the ChangeUIDEvent
      consentReferenceId - the consent reference
    • sendAddressDeletedEvent

      void sendAddressDeletedEvent(UserModel userModel, String baseSiteId, String consentReferenceId)
      Sends address deleted event to Profile.
      Parameters:
      userModel - the user model
      consentReferenceId - the consent reference
      baseSiteId - site id from the event
    • sendAddressSavedEvent

      void sendAddressSavedEvent(UserModel userModel, String baseSiteId, String consentReferenceId)
      Sends address saved event to Profile.
      Parameters:
      userModel - the user model
      consentReferenceId - the consent reference
      baseSiteId - site id from the event
    • sendPersonalDetailsChangedEvent

      void sendPersonalDetailsChangedEvent(UserModel userModel, String baseSiteId, String consentReferenceId)
      Sends personal details updated event to Profile.
      Parameters:
      userModel - the user model
      consentReferenceId - the consent reference
      baseSiteId - site id from the event
    • sendLoginEvent

      void sendLoginEvent(UserModel userModel, String consentReferenceId, String sessionId, String storeName)
      Sends user login event to Profile.
      Parameters:
      userModel - the user model
      consentReferenceId - the consent reference
      sessionId - ec session id
      storeName - storefront name like 'electronics'