NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/dashboard/GetUserTypePartyDetailsAdapter.java
// converts getPRSAccountExemptionsNdsRequest to retrieveRegisteredDetailsNdsRequest to get the user type
converts getPRSAccountExemptionsNdsRequest to retrieveRegisteredDetailsNdsRequest to get the user type
converts getPRSAccountExemptionsNdsRequest to retrieveRegisteredDetailsNdsRequest to get the user type
public RetrieveRegisteredDetailsNdsRequest createPartyDetailsRequest(Exchange exchange) {
        GetPRSAccountExemptionsNdsRequest ndsRequest = (GetPRSAccountExemptionsNdsRequest) exchange.getIn().getBody();
        RetrieveRegisteredDetailsNdsRequest retrieveRegisteredDetailsNdsRequest = new RetrieveRegisteredDetailsNdsRequest();
        retrieveRegisteredDetailsNdsRequest.setAccountId(ndsRequest.getAccountId());
        retrieveRegisteredDetailsNdsRequest.setUsername(ndsRequest.getUsername());
        retrieveRegisteredDetailsNdsRequest.setTenant(ndsRequest.getTenant());
        return retrieveRegisteredDetailsNdsRequest;
    }
public RetrieveRegisteredDetailsNdsRequest createPartyDetailsRequest ( Exchange exchange ) { GetPRSAccountExemptionsNdsRequest ndsRequest = ( GetPRSAccountExemptionsNdsRequest ) exchange . getIn ( ) . getBody ( ) ; RetrieveRegisteredDetailsNdsRequest retrieveRegisteredDetailsNdsRequest = new RetrieveRegisteredDetailsNdsRequest ( ) ; retrieveRegisteredDetailsNdsRequest . setAccountId ( ndsRequest . getAccountId ( ) ) ; retrieveRegisteredDetailsNdsRequest . setUsername ( ndsRequest . getUsername ( ) ) ; retrieveRegisteredDetailsNdsRequest . setTenant ( ndsRequest . getTenant ( ) ) ; return retrieveRegisteredDetailsNdsRequest ; }
converts getPRSAccountExemptionsNdsRequest to retrieveRegisteredDetailsNdsRequest to get the user type
converts getPRSAccountExemptionsNdsRequest to retrieveRegisteredDetailsNdsRequest to get the user type