Interface BankIdentityMapper
public interface BankIdentityMapper
Mapper for converting between
BankIdentityRequest
and BankIdentityResponse
.
This interface uses MapStruct to generate the implementation for mapping fields between the two data transfer objects (DTOs) related to bank identities.
-
Method Summary
Modifier and TypeMethodDescriptiontoRequest
(BankIdentityResponse bankIdentityResponse) Maps aBankIdentityResponse
object to aBankIdentityRequest
object.toResponse
(BankIdentityRequest bankIdentityRequest) Maps aBankIdentityRequest
object to aBankIdentityResponse
object.
-
Method Details
-
toRequest
Maps aBankIdentityResponse
object to aBankIdentityRequest
object.- Parameters:
bankIdentityResponse
- TheBankIdentityResponse
object to be converted.- Returns:
- The converted
BankIdentityRequest
object.
-
toResponse
Maps aBankIdentityRequest
object to aBankIdentityResponse
object.- Parameters:
bankIdentityRequest
- TheBankIdentityRequest
object to be converted.- Returns:
- The converted
BankIdentityResponse
object.
-