All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.brihaspathee.zeus.mapper.interfaces.MemberAddressMapper Maven / Gradle / Ivy

There is a newer version: 1.0.8
Show newest version
package com.brihaspathee.zeus.mapper.interfaces;

import com.brihaspathee.zeus.domain.entity.MemberAddress;
import com.brihaspathee.zeus.dto.account.MemberAddressDto;

import java.util.List;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 30, November 2022
 * Time: 1:11 PM
 * Project: Zeus
 * Package Name: com.brihaspathee.zeus.mapper.interfaces
 * To change this template use File | Settings | File and Code Template
 */
public interface MemberAddressMapper {

    /**
     * Convert member address to member address dto
     * @param memberAddress
     * @return
     */
    MemberAddressDto memberAddressToMemberAddressDto(MemberAddress memberAddress);

    /**
     * Convert member address dto to member address entity
     * @param memberAddressDto
     * @return
     */
    MemberAddress memberAddressDtoToMemberAddress(MemberAddressDto memberAddressDto);

    /**
     * Convert member address entities to member address dtos
     * @param memberAddresses
     * @return
     */
    List memberAddressesToMemberAddressDtos(List memberAddresses);

    /**
     * Convert member address dtos to member address entities
     * @param memberAddressDtos
     * @return
     */
    List memberAddressDtosToMemberAddresses(List memberAddressDtos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy