class BBInputSetup implements JavaDelegate {

    protected Customer getCustomerFromRequest(RequestDetails requestDetails) {
        org.onap.aai.domain.yang.Customer aaiCustomer =
                bbInputSetupUtils.getAAICustomer(requestDetails.getSubscriberInfo().getGlobalSubscriberId());
        if (aaiCustomer != null) {
            return mapperLayer.mapAAICustomer(aaiCustomer);
        } else {
            return null;
        }
    }

}