Package com.hybris.yprofile.services
Interface ProfileTransactionService
- All Known Implementing Classes:
DefaultProfileTransactionService
public interface ProfileTransactionService
ProfileTransactionService Interface. Communication service to send transactions to Profile
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendAddressDeletedEvent(UserModel userModel, String baseSiteId, String consentReferenceId) Sends address deleted event to Profile.voidsendAddressSavedEvent(UserModel userModel, String baseSiteId, String consentReferenceId) Sends address saved event to Profile.voidsendConsignmentEvent(ConsignmentModel consignmentModel) Sends consignment to Profile.voidsendLoginEvent(UserModel userModel, String consentReferenceId, String sessionId, String storeName) Sends user login event to Profile.voidsendPersonalDetailsChangedEvent(UserModel userModel, String baseSiteId, String consentReferenceId) Sends personal details updated event to Profile.voidsendReturnOrderEvent(ReturnRequestModel returnRequestModel) Sends return order to Profile.voidsendSubmitOrderEvent(OrderModel orderModel) Sends order to Profile.voidsendUidChangedEvent(ChangeUIDEvent event, String consentReferenceId) Sends newUid updated event to Profile.voidsendUserRegistrationEvent(UserModel userModel, String consentReferenceId, String sessionId, String storeName) Sends user registration event to Profile.
-
Method Details
-
sendSubmitOrderEvent
Sends order to Profile.- Parameters:
orderModel- the order model
-
sendConsignmentEvent
Sends consignment to Profile.- Parameters:
consignmentModel- the consignment model
-
sendReturnOrderEvent
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 modelconsentReferenceId- consent refrencesessionId- ec session idstoreName- storefront name like 'electronics'
-
sendUidChangedEvent
Sends newUid updated event to Profile.- Parameters:
event- the ChangeUIDEventconsentReferenceId- the consent reference
-
sendAddressDeletedEvent
Sends address deleted event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencebaseSiteId- site id from the event
-
sendAddressSavedEvent
Sends address saved event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencebaseSiteId- 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 modelconsentReferenceId- the consent referencebaseSiteId- 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 modelconsentReferenceId- the consent referencesessionId- ec session idstoreName- storefront name like 'electronics'
-