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 theLoyalty
model for converting- Returns:
- Returns orchestration
LoyaltyDTO
model object
-
loyaltyDTOToLoyalty
This method is used to transform the orchestration loyalty data transfer model into loyalty model- Parameters:
loyalty
- Indicates theLoyaltyDTO
model object- Returns:
- Returns
Loyalty
model object
-
loyaltyRequestToLoyaltyRequestDTO
This method is used to transform the LoyaltyRequest model into orchestration LoyaltyRequestDTO data transfer model.- Parameters:
loyalty
- Indicates theLoyaltyRequest
model for converting- Returns:
- Returns orchestration
LoyaltyRequestDTO
model object
-
loyaltyRequestDTOToLoyaltyRequest
This method is used to transform the orchestration LoyaltyRequestDTO data transfer model into LoyaltyRequest model- Parameters:
loyalty
- Indicates theLoyaltyRequestDTO
model object- Returns:
- Returns
LoyaltyRequest
model object
-