Package com.skava.loyalty.mapper
Interface LoyaltyModelMapper
public interface LoyaltyModelMapper
The Interface AccountModelMapper
An interface to define the account related models mapping.- Version:
- 8.0
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionloyaltyDTOToLoyalty(LoyaltyDTO loyalty) This method is used to transform the orchestration loyalty data transfer model into loyalty modelThis method is used to transform the orchestration LoyaltyRequestDTO data transfer model into LoyaltyRequest modelThis method is used to transform the LoyaltyRequest model into orchestration LoyaltyRequestDTO data transfer model.loyaltyToLoyaltyDTO(Loyalty loyalty) This method is used to transform the loyalty model into orchestration loyalty data transfer model.
-
Method Details
-
loyaltyToLoyaltyDTO
This method is used to transform the loyalty model into orchestration loyalty data transfer model.- Parameters:
loyalty- Indicates theLoyaltymodel for converting- Returns:
- Returns orchestration
LoyaltyDTOmodel object
-
loyaltyDTOToLoyalty
This method is used to transform the orchestration loyalty data transfer model into loyalty model- Parameters:
loyalty- Indicates theLoyaltyDTOmodel object- Returns:
- Returns
Loyaltymodel object
-
loyaltyRequestToLoyaltyRequestDTO
This method is used to transform the LoyaltyRequest model into orchestration LoyaltyRequestDTO data transfer model.- Parameters:
loyalty- Indicates theLoyaltyRequestmodel for converting- Returns:
- Returns orchestration
LoyaltyRequestDTOmodel object
-
loyaltyRequestDTOToLoyaltyRequest
This method is used to transform the orchestration LoyaltyRequestDTO data transfer model into LoyaltyRequest model- Parameters:
loyalty- Indicates theLoyaltyRequestDTOmodel object- Returns:
- Returns
LoyaltyRequestmodel object
-