@Service public class PartnerServiceImpl extends Object implements PartnerService
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.env.Environment |
env
The env.
|
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper
The mapper.
|
| Constructor and Description |
|---|
PartnerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Optional<License> |
getLicense(String licenseKey) |
boolean |
getMispPartnerMapping(String partnerId,
String mispId) |
Optional<PartnerDTO> |
getPartner(String partnerId) |
Optional<PolicyDTO> |
getPolicy(String policyId) |
@Autowired protected org.springframework.core.env.Environment env
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper mapper
public Optional<PolicyDTO> getPolicy(String policyId) throws IdAuthenticationBusinessException
getPolicy in interface PartnerServiceIdAuthenticationBusinessExceptionpublic Optional<PartnerDTO> getPartner(String partnerId) throws IdAuthenticationBusinessException
getPartner in interface PartnerServiceIdAuthenticationBusinessExceptionpublic boolean getMispPartnerMapping(String partnerId, String mispId) throws IdAuthenticationBusinessException
getMispPartnerMapping in interface PartnerServiceIdAuthenticationBusinessExceptionpublic Optional<License> getLicense(String licenseKey) throws IdAuthenticationBusinessException
getLicense in interface PartnerServiceIdAuthenticationBusinessExceptionCopyright © 2020. All rights reserved.