Interface ProfileTransactionService

  • All Known Implementing Classes:
    DefaultProfileTransactionService

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

      • 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,
                                       java.lang.String consentReferenceId,
                                       java.lang.String sessionId,
                                       java.lang.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,
                                 java.lang.String consentReferenceId)
        Sends newUid updated event to Profile.
        Parameters:
        event - the ChangeUIDEvent
        consentReferenceId - the consent reference
      • sendAddressDeletedEvent

        void sendAddressDeletedEvent​(UserModel userModel,
                                     java.lang.String baseSiteId,
                                     java.lang.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,
                                   java.lang.String baseSiteId,
                                   java.lang.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,
                                             java.lang.String baseSiteId,
                                             java.lang.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,
                            java.lang.String consentReferenceId,
                            java.lang.String sessionId,
                            java.lang.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'