class AssuranceServiceImpl implements AssuranceService {

    @Override
    public Response findAssuranceByOrderId(UUID orderId, HttpHeaders headers) {
        Assurance assurance = assuranceRepository.findByOrderId(orderId);
        if (assurance == null) {
            return new Response<>(0, "No Content by this orderId", null);
        } else {
            return new Response<>(1, "Find Assurace Success", assurance);
        }
    }

}